Skip to content

Commit

Permalink
fix(youtube/general-ads): remove unused switch
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Nov 20, 2022
1 parent 4976ad4 commit 43cddcc
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ class GeneralAdsResourcePatch : ResourcePatch {

override fun execute(context: ResourceContext): PatchResult {
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(
"revanced_adremover_ad_removal",
StringResource("revanced_adremover_ad_removal_enabled_title", "Remove general ads"),
Expand Down

0 comments on commit 43cddcc

Please sign in to comment.