mirror of
https://github.com/revanced/revanced-patches
synced 2024-11-10 19:29:24 +01:00
fix(youtube/general-ads): remove unused switch
This commit is contained in:
parent
a438a47927
commit
6753d78567
@ -29,13 +29,6 @@ class GeneralAdsResourcePatch : ResourcePatch {
|
|||||||
|
|
||||||
override fun execute(context: ResourceContext): PatchResult {
|
override fun execute(context: ResourceContext): PatchResult {
|
||||||
PreferenceScreen.ADS.addPreferences(
|
PreferenceScreen.ADS.addPreferences(
|
||||||
SwitchPreference(
|
|
||||||
"revanced_home_ads_removal",
|
|
||||||
StringResource("revanced_home_ads_removal_title", "Remove home ads"),
|
|
||||||
true,
|
|
||||||
StringResource("revanced_home_ads_removal_summary_on", "Home ads are hidden"),
|
|
||||||
StringResource("revanced_home_ads_removal_summary_off", "Home ads are shown")
|
|
||||||
),
|
|
||||||
SwitchPreference(
|
SwitchPreference(
|
||||||
"revanced_adremover_ad_removal",
|
"revanced_adremover_ad_removal",
|
||||||
StringResource("revanced_adremover_ad_removal_enabled_title", "Remove general ads"),
|
StringResource("revanced_adremover_ad_removal_enabled_title", "Remove general ads"),
|
||||||
|
Loading…
Reference in New Issue
Block a user