mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-05 10:49:26 +02:00
Changed the default of the switches
This commit is contained in:
parent
3c72992c39
commit
d2735607b8
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue