From 3f9edca15d5e3a09af504c9c78bc63538268a3a3 Mon Sep 17 00:00:00 2001 From: KobeW50 <84587632+KobeW50@users.noreply.github.com> Date: Mon, 31 Mar 2025 19:50:25 -0400 Subject: [PATCH] feat(YouTube - Settings): Place RVX settings at top of settings by default (#147) Co-authored-by: Kobe --- patches.json | 2 +- .../revanced/patches/youtube/utils/settings/SettingsPatch.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/patches.json b/patches.json index 4de24746a..72c3927ef 100644 --- a/patches.json +++ b/patches.json @@ -2510,7 +2510,7 @@ "description": "The settings menu name that the RVX settings menu should be above.", "required": true, "type": "kotlin.String", - "default": "@string/about_key", + "default": "@string/parent_tools_key", "values": { "Parent settings": "@string/parent_tools_key", "General": "@string/general_key", diff --git a/patches/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt b/patches/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt index 471e4cd71..60cd26b83 100644 --- a/patches/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt +++ b/patches/src/main/kotlin/app/revanced/patches/youtube/utils/settings/SettingsPatch.kt @@ -96,7 +96,7 @@ private val settingsBytecodePatch = bytecodePatch( } } -private const val DEFAULT_ELEMENT = "@string/about_key" +private const val DEFAULT_ELEMENT = "@string/parent_tools_key" private const val DEFAULT_LABEL = "RVX" private val SETTINGS_ELEMENTS_MAP = mapOf(