fix(YouTube - Hide layout components): Move hide chips settings to Feed menu

This commit is contained in:
LisoUseInAIKyrios 2024-10-21 02:54:06 -04:00
parent 96b5aede48
commit 1ed677f7b8

View File

@ -108,6 +108,8 @@ object HideLayoutComponentsPatch : BytecodePatch(
SwitchPreference("revanced_hide_artist_cards"), SwitchPreference("revanced_hide_artist_cards"),
SwitchPreference("revanced_hide_community_posts"), SwitchPreference("revanced_hide_community_posts"),
SwitchPreference("revanced_hide_compact_banner"), SwitchPreference("revanced_hide_compact_banner"),
SwitchPreference("revanced_hide_chips_shelf"),
SwitchPreference("revanced_hide_expandable_chip"),
SwitchPreference("revanced_hide_feed_survey"), SwitchPreference("revanced_hide_feed_survey"),
SwitchPreference("revanced_hide_for_you_shelf"), SwitchPreference("revanced_hide_for_you_shelf"),
SwitchPreference("revanced_hide_horizontal_shelves"), SwitchPreference("revanced_hide_horizontal_shelves"),
@ -137,8 +139,6 @@ object HideLayoutComponentsPatch : BytecodePatch(
) )
SettingsPatch.PreferenceScreen.GENERAL_LAYOUT.addPreferences( SettingsPatch.PreferenceScreen.GENERAL_LAYOUT.addPreferences(
SwitchPreference("revanced_hide_chips_shelf"),
SwitchPreference("revanced_hide_expandable_chip"),
SwitchPreference("revanced_hide_gray_separator"), SwitchPreference("revanced_hide_gray_separator"),
PreferenceScreen( PreferenceScreen(
key = "revanced_custom_filter_screen", key = "revanced_custom_filter_screen",