File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ protected void migrate(final Context context) {
111111 public static final Migration MIGRATION_4_5 = new Migration (4 , 5 ) {
112112 @ Override
113113 protected void migrate (final Context context ) {
114- boolean brightnessGestureSwitch = sp .getBoolean (
114+ final boolean brightnessGestureSwitch = sp .getBoolean (
115115 context .getString (R .string .left_gesture_control_key ), true );
116- boolean volumeGestureSwitch = sp .getBoolean (
116+ final boolean volumeGestureSwitch = sp .getBoolean (
117117 context .getString (R .string .right_gesture_control_key ), true );
118118
119- SharedPreferences .Editor editor = sp .edit ();
119+ final SharedPreferences .Editor editor = sp .edit ();
120120
121121 if (volumeGestureSwitch ) {
122122 if (!brightnessGestureSwitch ) {
You can’t perform that action at this time.
0 commit comments