mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 09:07:46 +01:00
feat(YouTube - Hide Shorts components): Hide title and full video link label
This commit is contained in:
parent
2df0892682
commit
e7b64e154e
2 changed files with 10 additions and 2 deletions
|
@ -29,8 +29,10 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
|
|||
SwitchPreference("revanced_hide_shorts_share_button"),
|
||||
SwitchPreference("revanced_hide_shorts_info_panel"),
|
||||
SwitchPreference("revanced_hide_shorts_channel_bar"),
|
||||
SwitchPreference("revanced_hide_shorts_video_title"),
|
||||
SwitchPreference("revanced_hide_shorts_full_video_link_label"),
|
||||
SwitchPreference("revanced_hide_shorts_sound_button"),
|
||||
SwitchPreference("revanced_hide_shorts_navigation_bar")
|
||||
SwitchPreference("revanced_hide_shorts_navigation_bar"),
|
||||
)
|
||||
|
||||
ResourceMappingPatch.resourceMappings.find {
|
||||
|
@ -44,4 +46,4 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
|
|||
it.type == "dimen" && it.name == "reel_player_right_cell_button_height"
|
||||
}.id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -500,6 +500,12 @@
|
|||
<string name="revanced_hide_shorts_channel_bar_title">Hide channel bar</string>
|
||||
<string name="revanced_hide_shorts_channel_bar_summary_on">Channel bar is hidden</string>
|
||||
<string name="revanced_hide_shorts_channel_bar_summary_off">Channel bar is shown</string>
|
||||
<string name="revanced_hide_shorts_video_title_title">Hide Shorts video title</string>
|
||||
<string name="revanced_hide_shorts_video_title_summary_on">Title is hidden</string>
|
||||
<string name="revanced_hide_shorts_video_title_summary_off">Title is shown</string>
|
||||
<string name="revanced_hide_shorts_full_video_link_label_title">Hide full video link label</string>
|
||||
<string name="revanced_hide_shorts_full_video_link_label_summary_on">Label is hidden</string>
|
||||
<string name="revanced_hide_shorts_full_video_link_label_summary_off">Label is shown</string>
|
||||
<string name="revanced_hide_shorts_sound_button_title">Hide sound button</string>
|
||||
<string name="revanced_hide_shorts_sound_button_summary_on">Sound button is hidden</string>
|
||||
<string name="revanced_hide_shorts_sound_button_summary_off">Sound button is shown</string>
|
||||
|
|
Loading…
Reference in a new issue