feat(youtube/general-ads): hide multiple audio track button on video player overlay (#2021)

This commit is contained in:
LisoUseInAIKyrios 2023-05-01 08:26:29 +04:00 committed by GitHub
parent ae43b42888
commit 8d7f305aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,6 +212,13 @@ class GeneralAdsResourcePatch : ResourcePatch {
true, true,
StringResource("revanced_hide_image_shelf_summary_on", "Image shelf is hidden"), StringResource("revanced_hide_image_shelf_summary_on", "Image shelf is hidden"),
StringResource("revanced_hide_image_shelf_summary_off", "Image shelf is shown") 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")
) )
) )