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:
parent
3c72992c39
commit
d2735607b8
@ -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…
Reference in New Issue
Block a user