feat(YouTube/Swipe controls): add Enable save and restore brightness setting (Match to ReVanced) https://github.com/inotia00/ReVanced_Extended/issues/2232

This commit is contained in:
inotia00 2024-07-17 15:49:56 +09:00
parent eb63d2ac3a
commit 0309d371f7
2 changed files with 4 additions and 0 deletions

View File

@ -1152,6 +1152,9 @@ Limitations:
<string name="revanced_enable_swipe_volume_title">Enable volume gesture</string>
<string name="revanced_enable_swipe_volume_summary_on">Volume swipe is enabled.</string>
<string name="revanced_enable_swipe_volume_summary_off">Volume swipe is disabled.</string>
<string name="revanced_enable_save_and_restore_brightness_title">Enable save and restore brightness</string>
<string name="revanced_enable_save_and_restore_brightness_summary_on">Save and restore brightness when exiting or entering fullscreen.</string>
<string name="revanced_enable_save_and_restore_brightness_summary_off">Do not save and restore brightness when exiting or entering fullscreen.</string>
<string name="revanced_enable_swipe_press_to_engage_title">Enable press-to-swipe gesture</string>
<string name="revanced_enable_swipe_press_to_engage_summary_on">Touch and hold to activate swipe gesture.</string>
<string name="revanced_enable_swipe_press_to_engage_summary_off">Touch to activate swipe gesture.</string>

View File

@ -523,6 +523,7 @@
<SwitchPreference android:title="@string/revanced_enable_swipe_lowest_value_auto_brightness_title" android:key="revanced_enable_swipe_lowest_value_auto_brightness" android:summaryOn="@string/revanced_enable_swipe_lowest_value_auto_brightness_summary_on" android:summaryOff="@string/revanced_enable_swipe_lowest_value_auto_brightness_summary_off" />
<SwitchPreference android:title="@string/revanced_enable_swipe_brightness_title" android:key="revanced_enable_swipe_brightness" android:summaryOn="@string/revanced_enable_swipe_brightness_summary_on" android:summaryOff="@string/revanced_enable_swipe_brightness_summary_off" />
<SwitchPreference android:title="@string/revanced_enable_swipe_volume_title" android:key="revanced_enable_swipe_volume" android:summaryOn="@string/revanced_enable_swipe_volume_summary_on" android:summaryOff="@string/revanced_enable_swipe_volume_summary_off" />
<SwitchPreference android:title="@string/revanced_enable_save_and_restore_brightness_title" android:key="revanced_enable_save_and_restore_brightness" android:summaryOn="@string/revanced_enable_save_and_restore_brightness_summary_on" android:summaryOff="@string/revanced_enable_save_and_restore_brightness_summary_off" />
<SwitchPreference android:title="@string/revanced_enable_swipe_press_to_engage_title" android:key="revanced_enable_swipe_press_to_engage" android:summaryOn="@string/revanced_enable_swipe_press_to_engage_summary_on" android:summaryOff="@string/revanced_enable_swipe_press_to_engage_summary_off" />
<SwitchPreference android:title="@string/revanced_enable_swipe_haptic_feedback_title" android:key="revanced_enable_swipe_haptic_feedback" android:summaryOn="@string/revanced_enable_swipe_haptic_feedback_summary_on" android:summaryOff="@string/revanced_enable_swipe_haptic_feedback_summary_off" android:dependency="revanced_enable_swipe_press_to_engage" />
<SwitchPreference android:title="@string/revanced_swipe_gestures_lock_mode_title" android:key="revanced_swipe_gestures_lock_mode" android:summaryOn="@string/revanced_swipe_gestures_lock_mode_summary_on" android:summaryOff="@string/revanced_swipe_gestures_lock_mode_summary_off" />