From 3e6d0528b287ded401dacdcea698d4ec97b926ee Mon Sep 17 00:00:00 2001 From: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Date: Fri, 26 May 2023 21:43:04 +0400 Subject: [PATCH] fix(youtube/hide-shorts-components): clarify settings switch (#2276) --- .../resource/patch/HideShortsComponentsResourcePatch.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt index 29e3d149..0ecb4e62 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/hide/shorts/resource/patch/HideShortsComponentsResourcePatch.kt @@ -18,12 +18,12 @@ class HideShortsComponentsResourcePatch : ResourcePatch { override fun execute(context: ResourceContext): PatchResult { SettingsPatch.PreferenceScreen.LAYOUT.addPreferences( PreferenceScreen( - "revanced_shorts", - StringResource("revanced_shorts_title", "Shorts components"), + "revanced_shorts_preference_screen", + StringResource("revanced_shorts_preference_screen_title", "Shorts components"), listOf( SwitchPreference( "revanced_hide_shorts", - StringResource("revanced_hide_shorts_enabled_title", "Hide shorts"), + StringResource("revanced_hide_shorts_title", "Hide shorts in feed"), StringResource("revanced_hide_shorts_on", "Shorts are hidden"), StringResource("revanced_hide_shorts_off", "Shorts are shown") ), @@ -70,7 +70,7 @@ class HideShortsComponentsResourcePatch : ResourcePatch { StringResource("revanced_hide_shorts_navigation_bar_off", "Navigation bar is shown") ), ), - StringResource("revanced_shorts_summary", "Manage the visibility of Shorts components") + StringResource("revanced_shorts_preference_screen_summary", "Manage the visibility of Shorts components") ) )