feat(youtube/hide-ads): hide mix playlists

This commit is contained in:
oSumAtrIX 2023-06-01 00:12:08 +02:00
parent c66f93537d
commit dbb38eddfd
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -194,6 +194,12 @@ class HideAdsResourcePatch : ResourcePatch {
StringResource("revanced_hide_latest_posts_ads_summary_on", "Latest posts are hidden"),
StringResource("revanced_hide_latest_posts_ads_summary_off", "Latest posts are shown")
),
SwitchPreference(
"revanced_hide_mix_playlists",
StringResource("revanced_hide_mix_playlists_title", "Hide mix playlists"),
StringResource("revanced_hide_mix_playlists_summary_on", "Mix playlists are hidden"),
StringResource("revanced_hide_mix_playlists_summary_off", "Mix playlists are shown")
),
)
PreferenceScreen.ADS.addPreferences(