1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 00:20:32 +00: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 @Override
protected void migrate(final Context context) { protected void migrate(final Context context) {
boolean brightnessGestureSwitch = sp.getBoolean( 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( 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(); SharedPreferences.Editor editor = sp.edit();