From 4c228532955aa9129fb759eb7898a45c8944f6c9 Mon Sep 17 00:00:00 2001 From: Francesco Marastoni <49027005+Francesco146@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:23:12 +0000 Subject: [PATCH] feat(YouTube/Video playback): add an option to disable toasts when changing the default values (#78) * feat(YouTube/Default Quality & Speed): add an option to disable toasts when changing the default values * chore: re-add space removed by ide * feat: apply code review suggestions --------- Co-authored-by: inotia00 <108592928+inotia00@users.noreply.github.com> --- src/main/resources/youtube/settings/host/values/strings.xml | 6 ++++++ src/main/resources/youtube/settings/xml/revanced_prefs.xml | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml index 27d5644a50..7ee1c9a154 100644 --- a/src/main/resources/youtube/settings/host/values/strings.xml +++ b/src/main/resources/youtube/settings/host/values/strings.xml @@ -1226,9 +1226,15 @@ Limitations: Remember playback speed changes Playback speed changes apply to all videos. Playback speed changes only apply to the current video. + Show a toast + A toast will be shown when changing the default playback speed. + A toast will not be shown when changing the default playback speed. Remember video quality changes Quality changes apply to all videos. Quality changes only apply to the current video. + Show a toast + A toast will be shown when changing the default video quality. + A toast will not be shown when changing the default video quality. Restore old video quality menu Old video quality menu is shown. Old video quality menu is not shown. diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml index 4eb8bfd75f..fa59a21afa 100644 --- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml +++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml @@ -573,7 +573,9 @@ + +