From ad93e84b53684bfdf2c96ee4494bd7ef18c91b33 Mon Sep 17 00:00:00 2001 From: adproqwq <101449500+adproqwq@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:15:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(PicACG):=20=E6=B5=81=E9=87=8F=E6=8F=90?= =?UTF-8?q?=E9=86=92=E5=BC=B9=E7=AA=97=EF=BC=88=E9=BB=98=E8=AE=A4=E5=85=B3?= =?UTF-8?q?=E9=97=AD=EF=BC=89=20(#2541)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(PicACG): 流量提醒弹窗(默认关闭) * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #2540 --- src/apps/com.picacomic.fregata.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/apps/com.picacomic.fregata.ts b/src/apps/com.picacomic.fregata.ts index 16c82bed..6a0f0425 100644 --- a/src/apps/com.picacomic.fregata.ts +++ b/src/apps/com.picacomic.fregata.ts @@ -89,5 +89,23 @@ export default defineAppConfig({ }, ], }, + { + enable: false, + key: 5, + name: '流量提醒弹窗', + desc: '弹出流量提醒弹窗时自动点击“确定”', + quickFind: true, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'activity', + activityIds: 'com.picacomic.fregata.activities.ComicViewerActivity', + rules: [ + { + matches: + 'RelativeLayout > Button[text="確定"][id="com.picacomic.fregata:id/button_dialog_custom_positive"]', + snapshotUrls: 'https://i.gkd.li/import/13466492', + }, + ], + }, ], });