From d91c4c3045d635ff9e7177a109bfdce43acc410b Mon Sep 17 00:00:00 2001 From: walklty <47232102+walklty@users.noreply.github.com> Date: Fri, 10 Nov 2023 00:33:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=96=9C=E9=A9=AC=E6=8B=89=E9=9B=85):=20?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A-=E6=9B=B4=E6=96=B0activity?= =?UTF-8?q?id=20(#1969)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #1953 --- src/apps/com.ximalaya.ting.android.ts | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/apps/com.ximalaya.ting.android.ts b/src/apps/com.ximalaya.ting.android.ts index cefe63d2..051d437f 100644 --- a/src/apps/com.ximalaya.ting.android.ts +++ b/src/apps/com.ximalaya.ting.android.ts @@ -63,9 +63,15 @@ export default defineAppConfig({ quickFind: true, rules: [ { - activityIds: 'com.ximalaya.ting.android.main.dialog', + activityIds: [ + 'com.ximalaya.ting.android.main.dialog', + 'com.ximalaya.ting.android.host.activity.MainActivity', + ], matches: '@[clickable=true] > [text="屏蔽"] + [text="关闭当前广告"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/12506269', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12506269', + 'https://gkd-kit.gitee.io/import/13296565', //com.ximalaya.ting.android.host.activity.MainActivity + ], }, { activityIds: 'com.ximalaya.ting.android.host.activity.MainActivity', @@ -181,8 +187,12 @@ export default defineAppConfig({ rules: [ { key: 0, - matches: '[id="com.ximalaya.ting.android:id/main_close_layout"]', - snapshotUrls: 'https://gkd-kit.gitee.io/import/13194838', + matches: + '[id="com.ximalaya.ting.android:id/main_close_layout"][visibleToUser=true]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/13194838', + 'https://gkd-kit.gitee.io/import/13296565', // [visibleToUser=true] + ], }, { preKeys: 0,