From 89820c60bb393a6a94bbc868a6fae0501c91d811 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 24 Feb 2023 13:47:12 +0100 Subject: [PATCH] fix(youtube/general-ads): remove duplicate preference --- .../ad/general/resource/patch/GeneralAdsResourcePatch.kt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt index 8f74e7b6..f4141d56 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/ad/general/resource/patch/GeneralAdsResourcePatch.kt @@ -213,20 +213,13 @@ class GeneralAdsResourcePatch : ResourcePatch { StringResource("revanced_hide_related_videos_summary_on", "Related videos are hidden"), StringResource("revanced_hide_related_videos_summary_off", "Related videos are shown") ), - SwitchPreference( - "revanced_hide_channel_bar", - StringResource("revanced_hide_channel_bar_title", "Hide channel bar"), - false, - StringResource("revanced_hide_channel_bar_summary_on", "Channel bar is hidden"), - StringResource("revanced_hide_channel_bar_summary_off", "Channel bar is shown") - ), SwitchPreference( "revanced_hide_image_shelf", StringResource("revanced_hide_image_shelf", "Hide image shelf in search results"), true, StringResource("revanced_hide_image_shelf_summary_on", "Image shelf is hidden"), StringResource("revanced_hide_image_shelf_summary_off", "Image shelf is shown") - ), + ) ) PreferenceScreen.ADS.addPreferences(