mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-28 18:45:48 +01:00
feat(YouTube - Hide Shorts components): Add Hide save music
, Hide stickers
(#3710)
This commit is contained in:
parent
02bc0949f1
commit
8c99321df4
@ -10,7 +10,6 @@ import app.revanced.patches.youtube.layout.hide.shorts.HideShortsComponentsPatch
|
||||
import app.revanced.patches.youtube.layout.hide.shorts.HideShortsComponentsPatch.hideShortsWidget
|
||||
import app.revanced.patches.youtube.misc.settings.SettingsPatch
|
||||
import app.revanced.util.findElementByAttributeValueOrThrow
|
||||
import org.w3c.dom.Element
|
||||
|
||||
@Patch(dependencies = [SettingsPatch::class, ResourceMappingPatch::class, AddResourcesPatch::class])
|
||||
object HideShortsComponentsResourcePatch : ResourcePatch() {
|
||||
@ -42,9 +41,9 @@ object HideShortsComponentsResourcePatch : ResourcePatch() {
|
||||
SwitchPreference("revanced_hide_shorts_subscribe_button"),
|
||||
SwitchPreference("revanced_hide_shorts_paused_overlay_buttons"),
|
||||
SwitchPreference("revanced_hide_shorts_save_sound_button"),
|
||||
SwitchPreference("revanced_hide_shorts_use_this_sound_button"),
|
||||
SwitchPreference("revanced_hide_shorts_shop_button"),
|
||||
SwitchPreference("revanced_hide_shorts_tagged_products"),
|
||||
SwitchPreference("revanced_hide_shorts_stickers"),
|
||||
SwitchPreference("revanced_hide_shorts_search_suggestions"),
|
||||
SwitchPreference("revanced_hide_shorts_super_thanks_button"),
|
||||
SwitchPreference("revanced_hide_shorts_location_label"),
|
||||
|
@ -628,15 +628,15 @@ This is because Crowdin requires temporarily flattening this file and removing t
|
||||
<string name="revanced_hide_shorts_location_label_title">Hide location label</string>
|
||||
<string name="revanced_hide_shorts_location_label_summary_on">Location label is hidden</string>
|
||||
<string name="revanced_hide_shorts_location_label_summary_off">Location label is shown</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_title">Hide save sound to playlist button</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save sound to playlist is hidden</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save sound to playlist is shown</string>
|
||||
<string name="revanced_hide_shorts_use_this_sound_button_title">Hide use this sound button</string>
|
||||
<string name="revanced_hide_shorts_use_this_sound_button_summary_on">Use this sound button is hidden</string>
|
||||
<string name="revanced_hide_shorts_use_this_sound_button_summary_off">Use this sound button is shown</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_title">Hide save music button</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_on">Save music is hidden</string>
|
||||
<string name="revanced_hide_shorts_save_sound_button_summary_off">Save music is shown</string>
|
||||
<string name="revanced_hide_shorts_search_suggestions_title">Hide search suggestions</string>
|
||||
<string name="revanced_hide_shorts_search_suggestions_summary_on">Search suggestions are hidden</string>
|
||||
<string name="revanced_hide_shorts_search_suggestions_summary_off">Search suggestions are shown</string>
|
||||
<string name="revanced_hide_shorts_stickers_title">Hide stickers</string>
|
||||
<string name="revanced_hide_shorts_stickers_summary_on">Stickers are hidden</string>
|
||||
<string name="revanced_hide_shorts_stickers_summary_off">Stickers are shown</string>
|
||||
<string name="revanced_hide_shorts_like_button_title">Hide like button</string>
|
||||
<string name="revanced_hide_shorts_like_button_summary_on">Like button is hidden</string>
|
||||
<string name="revanced_hide_shorts_like_button_summary_off">Like button is shown</string>
|
||||
|
Loading…
Reference in New Issue
Block a user