From b4adde2e25de6d6cd7ec2ef84ef471516b63f8ad Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Mon, 30 Oct 2023 15:31:19 +0900 Subject: [PATCH] feat(YouTube Music/Hide flyout panel): add `Hide help & feedback` settings --- .../patches/music/flyoutpanel/component/FlyoutPanelPatch.kt | 5 +++++ src/main/resources/music/settings/host/values/strings.xml | 1 + 2 files changed, 6 insertions(+) diff --git a/src/main/kotlin/app/revanced/patches/music/flyoutpanel/component/FlyoutPanelPatch.kt b/src/main/kotlin/app/revanced/patches/music/flyoutpanel/component/FlyoutPanelPatch.kt index 15f6b8287..48d56c3d9 100644 --- a/src/main/kotlin/app/revanced/patches/music/flyoutpanel/component/FlyoutPanelPatch.kt +++ b/src/main/kotlin/app/revanced/patches/music/flyoutpanel/component/FlyoutPanelPatch.kt @@ -106,6 +106,11 @@ object FlyoutPanelPatch : BytecodePatch( "revanced_hide_flyout_panel_go_to_podcast", "false" ) + SettingsPatch.addMusicPreferenceWithoutSummary( + CategoryType.FLYOUT, + "revanced_hide_flyout_panel_help", + "false" + ) SettingsPatch.addMusicPreferenceWithoutSummary( CategoryType.FLYOUT, "revanced_hide_flyout_panel_like_dislike", diff --git a/src/main/resources/music/settings/host/values/strings.xml b/src/main/resources/music/settings/host/values/strings.xml index fa12d0a07..1f8d66bc9 100644 --- a/src/main/resources/music/settings/host/values/strings.xml +++ b/src/main/resources/music/settings/host/values/strings.xml @@ -97,6 +97,7 @@ WARNING: Do not enable new player backgrounds while this is enabled." Hide go to artist menu Hide go to episode menu Hide go to podcast menu + Hide help & feedback menu Hide like and dislike button Hide play next menu Hide remove from library menu