fix USRBG & ViewIcons in new profiles (#2557)

Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
AutumnVN 2024-06-08 04:42:12 +07:00 committed by GitHub
parent 29c65948b4
commit 5996e67c7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 22 deletions

View file

@ -192,7 +192,7 @@ export default definePlugin({
}
})),
// Banners
...[".NITRO_BANNER,", /overrideBannerSrc:\i,overrideBannerWidth:/].map(find => ({
...[".NITRO_BANNER,", "=!1,canUsePremiumCustomization:"].map(find => ({
find,
replacement: {
// style: { backgroundImage: shouldShowBanner ? "url(".concat(bannerUrl,