From a0dcc96b2aea9da4332a0962c974e6cead002058 Mon Sep 17 00:00:00 2001 From: aoguai <34203474+aoguai@users.noreply.github.com> Date: Mon, 30 Oct 2023 00:00:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E5=A4=A9=E6=89=8D):=20=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E6=8F=90=E9=86=92=E3=80=81=E5=BC=80=E5=90=AF=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E6=8F=90=E9=86=92=E8=A7=84=E5=88=99=E4=BC=98=E5=8C=96?= =?UTF-8?q?=20(#1545)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.xtc.watch.ts | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/src/apps/com.xtc.watch.ts b/src/apps/com.xtc.watch.ts index bb1b0961..634798f7 100644 --- a/src/apps/com.xtc.watch.ts +++ b/src/apps/com.xtc.watch.ts @@ -5,23 +5,31 @@ export default defineAppConfig({ name: '小天才', groups: [ { - key: 3, - name: '开启通知提醒', + key: 2, + name: '弹窗提醒', + desc: '已知包括APP升级提醒与开启通知提醒,自动点击关闭。', + enable: false, quickFind: true, activityIds: [ + 'com.xtc.widget.phone.popup.activity.CustomActivity14', 'com.xtc.widget.phone.popup.activity.CustomActivity13', - 'com.xtc.watch.view.home.activity.XtcHomeActivity', ], + rules: '[id="com.xtc.watch:id/iv_close"]', + snapshotUrls: [ + 'https://i.gkd.li/import/13197390', + 'https://i.gkd.li/import/13063274', + ], + }, + { + key: 3, + name: '开启通知提醒', + enable: false, + quickFind: true, + activityIds: ['com.xtc.watch.view.home.activity.XtcHomeActivity'], rules: [ { - matches: [ - '[id="com.xtc.watch:id/iv_notify_permission_close"]', - '[id="com.xtc.watch:id/iv_close"]', - ], - snapshotUrls: [ - 'https://i.gkd.li/import/13059965', - 'https://i.gkd.li/import/13063274', - ], + matches: ['[id="com.xtc.watch:id/iv_notify_permission_close"]'], + snapshotUrls: ['https://i.gkd.li/import/13059965'], }, ], },