diff --git a/src/main/kotlin/app/revanced/patches/music/ads/general/AdsPatch.kt b/src/main/kotlin/app/revanced/patches/music/ads/general/AdsPatch.kt index d8aed25c07..841f0527a3 100644 --- a/src/main/kotlin/app/revanced/patches/music/ads/general/AdsPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/ads/general/AdsPatch.kt @@ -212,5 +212,10 @@ object AdsPatch : BaseBytecodePatch( "revanced_hide_premium_renewal", "true" ) + SettingsPatch.addSwitchPreference( + CategoryType.ADS, + "revanced_hide_promotion_alert_banner", + "true" + ) } } diff --git a/src/main/resources/music/settings/host/values/strings.xml b/src/main/resources/music/settings/host/values/strings.xml index 905bc8af5c..417a6d0e4a 100644 --- a/src/main/resources/music/settings/host/values/strings.xml +++ b/src/main/resources/music/settings/host/values/strings.xml @@ -73,6 +73,8 @@ If it is disabled, fullscreen ads are blocked. (there may be side effects)"Hides premium promotion popups. Hide premium renewal banner Hides the premium renewal banner. + Hide promotion alert banner + Hides the promotion alert banner.