From 8d7f305aa2d8f86a9232a6a9577a87f58b53d51c Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Mon, 1 May 2023 08:26:29 +0400 Subject: [PATCH] feat(youtube/general-ads): hide multiple audio track button on video player overlay (#2021) --- .../ad/general/resource/patch/GeneralAdsResourcePatch.kt | 7 +++++++ 1 file changed, 7 insertions(+) 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 52970a19..4bcaecc3 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 @@ -212,6 +212,13 @@ class GeneralAdsResourcePatch : ResourcePatch { true, StringResource("revanced_hide_image_shelf_summary_on", "Image shelf is hidden"), StringResource("revanced_hide_image_shelf_summary_off", "Image shelf is shown") + ), + SwitchPreference( + "revanced_hide_audio_track_button", + StringResource("revanced_hide_audio_track_button_title", "Hide audio track button"), + false, + StringResource("revanced_hide_audio_track_button_on", "Audio track button is hidden"), + StringResource("revanced_hide_audio_track_button_off", "Audio track button is shown") ) )