fix(youtube/hide-mix-playlists): correct switch title, summary and defaults (#821)

This commit is contained in:
johnconner122 2022-10-20 23:29:41 +05:00 committed by GitHub
parent b11458e1bb
commit f9eea332ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,10 @@ class MixPlaylistsPatch : BytecodePatch(
SettingsPatch.PreferenceScreen.LAYOUT.addPreferences( SettingsPatch.PreferenceScreen.LAYOUT.addPreferences(
SwitchPreference( SwitchPreference(
"revanced_mix_playlists_hidden", "revanced_mix_playlists_hidden",
StringResource("revanced_mix_playlists_title", "Show mix playlists"), StringResource("revanced_mix_playlists_title", "Hide mix playlists"),
true, false,
StringResource("revanced_mix_playlists_summary_on", "Mix playlists are shown"), StringResource("revanced_mix_playlists_summary_on", "Mix playlists are hidden"),
StringResource("revanced_mix_playlists_summary_off", "Mix playlists are hidden") StringResource("revanced_mix_playlists_summary_off", "Mix playlists are shown")
) )
) )