From ea6de498e3b002feeabf72d20059090db0be7f94 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 18 Nov 2023 05:02:38 +0100 Subject: [PATCH] feat(YouTube - Seekbar): Add description to preference screen --- .../youtube/layout/seekbar/SeekbarPreferencesPatch.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/patches/youtube/layout/seekbar/SeekbarPreferencesPatch.kt b/src/main/kotlin/app/revanced/patches/youtube/layout/seekbar/SeekbarPreferencesPatch.kt index 1283fd233..0b7a41fda 100644 --- a/src/main/kotlin/app/revanced/patches/youtube/layout/seekbar/SeekbarPreferencesPatch.kt +++ b/src/main/kotlin/app/revanced/patches/youtube/layout/seekbar/SeekbarPreferencesPatch.kt @@ -22,8 +22,12 @@ object SeekbarPreferencesPatch : ResourcePatch(), Closeable { SettingsPatch.PreferenceScreen.LAYOUT.addPreferences( PreferenceScreen( "revanced_seekbar_preference_screen", - StringResource("revanced_seekbar_preference_screen_title", "Seekbar settings"), - seekbarPreferences + StringResource("revanced_seekbar_preference_screen_title", "Seekbar"), + seekbarPreferences, + StringResource( + "revanced_seekbar_preference_screen_summary", + "Settings for the seekbar." + ) ) ) }