Skip to content

Commit 09bc31c

Browse files
author
minglu7
committed
fix: 修正喜马拉雅通知匹配规则,兼容两种版本
1 parent 4a19eb7 commit 09bc31c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/apps/com.ximalaya.ting.android.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,10 @@ export default defineGkdApp({
223223
fastQuery: true,
224224
actionMaximum: 1,
225225
resetMatch: 'app',
226-
activityIds: '.host.activity.MainActivity',
227226
rules: [
228227
{
229228
matches:
230-
'[text^="开启通知权限"] +3 * + @[text="取消"] +1 * + [text="去开启"]',
229+
'[text^="开启通知权限" || text="打开推送通知"] +(2,3) * + @[text="取消"] +1 * + [text="去开启"]',
231230
exampleUrls: [
232231
'https://m.gkd.li/33366298/f6ac028a-509b-49d8-959a-7da90fb4d9df',
233232
'https://e.gkd.li/ab40c096-d024-4b7c-9c6f-245beafd373a',

0 commit comments

Comments
 (0)