feat(YouTube - Hide layout components): Hide chips shelf (#2699)

This commit is contained in:
johnconner122 2023-07-26 18:48:04 +05:00 committed by GitHub
parent 3ef9f4a070
commit 8e6058b623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,12 @@ class HideLayoutComponentsPatch : BytecodePatch(
StringResource("revanced_hide_artist_cards_on", "Artist cards is hidden"),
StringResource("revanced_hide_artist_cards_off", "Artist cards is shown")
),
SwitchPreference(
"revanced_hide_chips_shelf",
StringResource("revanced_hide_chips_shelf_title", "Hide chips shelf"),
StringResource("revanced_hide_chips_shelf_on", "Chips shelf is hidden"),
StringResource("revanced_hide_chips_shelf_off", "Chips shelf is shown")
),
app.revanced.patches.shared.settings.preference.impl.PreferenceScreen(
"revanced_custom_filter_preference_screen",
StringResource("revanced_custom_filter_preference_screen_title", "Custom filter"),