From f5b33c78cb289b2d8263af8f4433077de72a05f1 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Thu, 27 Jun 2024 23:26:55 +0900 Subject: [PATCH] feat(YouTube/Settings): show AlertDialog when changing some settings value (matches ReVanced) --- .../resources/youtube/settings/host/values/strings.xml | 10 +++++++--- .../resources/youtube/settings/xml/revanced_prefs.xml | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index edca5626e..3ac3d0d57 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -329,10 +329,13 @@ This does not bypass the age restriction. It just accepts it automatically."Enable tablet layout Spoofs the dpi to use some tablet layouts. Spoof app version - "Spoofs the client version to an old version. + Version spoofed + Version not spoofed + "App version will be spoofed to an older version of YouTube. -• This will change the appearance of the app, but unknown side effects may occur. -• If later disabled, the old UI may remain until the app data is cleared." +This will change the appearance and features of the app, but unknown side effects may occur. + +If later turned off, it is recommended to clear the app data to prevent UI bugs." Edit spoof app version Type the spoof app version target. Spoof app version target @@ -1523,6 +1526,7 @@ Limitation: Feed videos will play for less than 1 minute before encountering pla Spoof client Client is spoofed. "Client is not spoofed. Video playback may not work." + Turning off this setting may cause video playback issues. Show in Stats for nerds Spoofed client is shown in Stats for nerds. Spoofed client is hidden in Stats for nerds. diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index f3471000d..be034e9b8 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -220,7 +220,7 @@ SETTINGS: LAYOUT_SWITCH -->