Skip to content

Commit

Permalink
feat(youtube/hide-ads): hide mix playlists
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed May 31, 2023
1 parent ee1405e commit 7ad5f2a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7ad5f2a

Please sign in to comment.