noProfileThemes: fix usrbg compatibility (#1905)
This commit is contained in:
parent
589c070773
commit
2f94e167c4
@ -30,7 +30,7 @@ export default definePlugin({
|
|||||||
// = isPremiumAtLeast(user.premiumType, TIER_2)
|
// = isPremiumAtLeast(user.premiumType, TIER_2)
|
||||||
match: /=(?=\i\.\i\.isPremiumAtLeast\(null==(\i))/,
|
match: /=(?=\i\.\i\.isPremiumAtLeast\(null==(\i))/,
|
||||||
// = user.banner && isPremiumAtLeast(user.premiumType, TIER_2)
|
// = user.banner && isPremiumAtLeast(user.premiumType, TIER_2)
|
||||||
replace: "=$1?.banner&&"
|
replace: "=(arguments[0]?.bannerSrc||$1?.banner)&&"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user