1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01:00

Changed the default of the switches

This commit is contained in:
ge78fug 2023-04-03 23:11:40 +02:00 committed by Stypox
parent 3c72992c39
commit d2735607b8

View File

@ -112,9 +112,9 @@ public final class SettingMigrations {
@Override
protected void migrate(final Context context) {
boolean brightnessGestureSwitch = sp.getBoolean(
context.getString(R.string.left_gesture_control_key), false);
context.getString(R.string.left_gesture_control_key), true);
boolean volumeGestureSwitch = sp.getBoolean(
context.getString(R.string.right_gesture_control_key), false);
context.getString(R.string.right_gesture_control_key), true);
SharedPreferences.Editor editor = sp.edit();