From 2f94e167c415797fde67934e92cb3ab2286820da Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Fri, 27 Oct 2023 03:52:48 +0700 Subject: [PATCH] noProfileThemes: fix usrbg compatibility (#1905) --- src/plugins/noProfileThemes/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/noProfileThemes/index.ts b/src/plugins/noProfileThemes/index.ts index c31f4283..e2b9327e 100644 --- a/src/plugins/noProfileThemes/index.ts +++ b/src/plugins/noProfileThemes/index.ts @@ -30,7 +30,7 @@ export default definePlugin({ // = isPremiumAtLeast(user.premiumType, TIER_2) match: /=(?=\i\.\i\.isPremiumAtLeast\(null==(\i))/, // = user.banner && isPremiumAtLeast(user.premiumType, TIER_2) - replace: "=$1?.banner&&" + replace: "=(arguments[0]?.bannerSrc||$1?.banner)&&" } }, {