From 0309d371f730755683f6e5cbd06aacbf3e67fe78 Mon Sep 17 00:00:00 2001
From: inotia00 <108592928+inotia00@users.noreply.github.com>
Date: Wed, 17 Jul 2024 15:49:56 +0900
Subject: [PATCH] feat(YouTube/Swipe controls): add `Enable save and restore
brightness` setting (Match to ReVanced)
https://github.com/inotia00/ReVanced_Extended/issues/2232
---
src/main/resources/youtube/settings/host/values/strings.xml | 3 +++
src/main/resources/youtube/settings/xml/revanced_prefs.xml | 1 +
2 files changed, 4 insertions(+)
diff --git a/src/main/resources/youtube/settings/host/values/strings.xml b/src/main/resources/youtube/settings/host/values/strings.xml
index dabd99ea6..eeab0dcd9 100644
--- a/src/main/resources/youtube/settings/host/values/strings.xml
+++ b/src/main/resources/youtube/settings/host/values/strings.xml
@@ -1152,6 +1152,9 @@ Limitations:
Enable volume gesture
Volume swipe is enabled.
Volume swipe is disabled.
+ Enable save and restore brightness
+ Save and restore brightness when exiting or entering fullscreen.
+ Do not save and restore brightness when exiting or entering fullscreen.
Enable press-to-swipe gesture
Touch and hold to activate swipe gesture.
Touch to activate swipe gesture.
diff --git a/src/main/resources/youtube/settings/xml/revanced_prefs.xml b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
index 263135684..51d5bbac2 100644
--- a/src/main/resources/youtube/settings/xml/revanced_prefs.xml
+++ b/src/main/resources/youtube/settings/xml/revanced_prefs.xml
@@ -523,6 +523,7 @@
+