feat(youtube/hide-shorts-components): hide shorts info panel (#2278)

This commit is contained in:
LisoUseInAIKyrios 2023-05-27 11:48:24 +04:00 committed by GitHub
parent 38687bd74d
commit a5b323d1d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,6 +63,12 @@ class HideShortsComponentsResourcePatch : ResourcePatch {
StringResource("revanced_hide_shorts_share_button_on", "Share button is hidden"), StringResource("revanced_hide_shorts_share_button_on", "Share button is hidden"),
StringResource("revanced_hide_shorts_share_button_off", "Share button is shown") StringResource("revanced_hide_shorts_share_button_off", "Share button is shown")
), ),
SwitchPreference(
"revanced_hide_shorts_info_panel",
StringResource("revanced_hide_shorts_info_panel_title", "Hide info panel"),
StringResource("revanced_hide_shorts_info_panel_on", "Info panel is hidden"),
StringResource("revanced_hide_shorts_info_panel_off", "Info panel is shown")
),
SwitchPreference( SwitchPreference(
"revanced_hide_shorts_navigation_bar", "revanced_hide_shorts_navigation_bar",
StringResource("revanced_hide_shorts_navigation_bar_title", "Hide navigation bar"), StringResource("revanced_hide_shorts_navigation_bar_title", "Hide navigation bar"),