Skip to content

Commit

Permalink
feat(youtube/swipe-controls): add option to save and restore brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed May 31, 2023
1 parent 5e4ce32 commit 3d03471
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ class SwipeControlsResourcePatch : ResourcePatch {
StringResource("revanced_swipe_haptic_feedback_summary_on", "Haptic feedback is enabled"),
StringResource("revanced_swipe_haptic_feedback_summary_off", "Haptic feedback is disabled")
),
SwitchPreference(
"revanced_swipe_save_and_restore_brightness",
StringResource("revanced_swipe_save_and_restore_brightness_title", "Save and restore brightness"),
StringResource(
"revanced_swipe_save_and_restore_brightness_summary_on",
"Save and restore brightness when exiting or entering fullscreen"
),
StringResource(
"revanced_swipe_save_and_restore_brightness_summary_off",
"Don\'t save and restore brightness when exiting or entering fullscreen"
)
),
TextPreference(
"revanced_swipe_overlay_timeout",
StringResource("revanced_swipe_overlay_timeout_title", "Swipe overlay timeout"),
Expand Down

0 comments on commit 3d03471

Please sign in to comment.