From d2735607b84a5fbe442302ec9464161faed5daa1 Mon Sep 17 00:00:00 2001 From: ge78fug Date: Mon, 3 Apr 2023 23:11:40 +0200 Subject: [PATCH] Changed the default of the switches --- .../java/org/schabi/newpipe/settings/SettingMigrations.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java b/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java index 21c0e1be4..e2bb18b2d 100644 --- a/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java +++ b/app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java @@ -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();