Skip to content

Commit

Permalink
fix(youtube/hide-shorts-components): clarify settings switch (ReVance…
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios authored May 26, 2023
1 parent aa99a7b commit 3e6d052
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
),
Expand Down Expand Up @@ -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")
)
)

Expand Down

0 comments on commit 3e6d052

Please sign in to comment.