feat(华为音乐): 推荐页面广告; “不感兴趣”按钮误触 (#1357)

* feat(华为音乐): 播放器上滑广告

* fix(华为音乐): 修复误触
This commit is contained in:
CallMeBill 2023-10-24 23:49:46 +08:00 committed by GitHub
parent f5b6e96afa
commit 6acef5ccd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,6 @@ export default defineAppConfig({
matches:
'TextView[id="com.huawei.music:id/ad_icon"&&visibleToUser=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/13068935',
'https://gkd-kit.gitee.io/import/13067956',
'https://gkd-kit.gitee.io/import/13067978',
'https://gkd-kit.gitee.io/import/13067387',
@ -107,7 +106,7 @@ export default defineAppConfig({
activityIds: ['com.android.mediacenter.MainActivity'],
rules: [
{
matches: 'TextView[text="不感兴趣"][visibleToUser=true]',
matches: 'TextView[text="不感兴趣"][id$="title"][visibleToUser=true]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/13067986',
'https://gkd-kit.gitee.io/import/13067981',
@ -115,5 +114,17 @@ export default defineAppConfig({
},
],
},
{
key: 7,
name: '播放器上滑广告',
quickFind: true,
activityIds: ['com.android.mediacenter.MainActivity'],
rules: [
{
matches: 'ViewGroup > TextView[text="广告"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/13068935'],
},
],
},
],
});