mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
perf: concat
This commit is contained in:
@@ -131,10 +131,9 @@ const globalGroups: RawGlobalGroup[] = [
|
|||||||
'[childCount=0][visibleToUser=true][(text.length<10 && (text*="跳过" || text*="跳過" || text*="skip" || text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || desc*="跳过" || desc*="skip" || (vid*="count" && vid*="down" && vid!*="countdown" && vid!*="load" && vid!*="add" && vid!*="ead" && vid!*="time")]',
|
'[childCount=0][visibleToUser=true][(text.length<10 && (text*="跳过" || text*="跳過" || text*="skip" || text*="Skip")) || id$="tt_splash_skip_btn" || vid*="skip" || vid*="Skip" || desc*="跳过" || desc*="skip" || (vid*="count" && vid*="down" && vid!*="countdown" && vid!*="load" && vid!*="add" && vid!*="ead" && vid!*="time")]',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
apps: [...diabledAppIdsAD].map(
|
apps: [...diabledAppIdsAD]
|
||||||
(id) => ({ id, enable: false }),
|
.map((id) => ({ id, enable: false }))
|
||||||
[...enabledAppIdsAD].map((id) => ({ id, enable: true })),
|
.concat([...enabledAppIdsAD].map((id) => ({ id, enable: true }))),
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
@@ -155,10 +154,9 @@ const globalGroups: RawGlobalGroup[] = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
apps: [...diabledAppIdsUP].map(
|
apps: [...diabledAppIdsUP]
|
||||||
(id) => ({ id, enable: false }),
|
.map((id) => ({ id, enable: false }))
|
||||||
[...enabledAppIdsUP].map((id) => ({ id, enable: true })),
|
.concat([...enabledAppIdsUP].map((id) => ({ id, enable: true }))),
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
@@ -176,10 +174,9 @@ const globalGroups: RawGlobalGroup[] = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
apps: [...diabledAppIdsYM].map(
|
apps: [...diabledAppIdsYM]
|
||||||
(id) => ({ id, enable: false }),
|
.map((id) => ({ id, enable: false }))
|
||||||
[...enabledAppIdsYM].map((id) => ({ id, enable: true })),
|
.concat([...enabledAppIdsYM].map((id) => ({ id, enable: true }))),
|
||||||
),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
export default globalGroups;
|
export default globalGroups;
|
||||||
|
|||||||
Reference in New Issue
Block a user