1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-05 09:36:22 +00:00

Fix checkstyle

This commit is contained in:
Stypox 2023-04-04 10:02:01 +02:00
parent d2735607b8
commit 704e9bd7b6

View File

@ -111,12 +111,12 @@ public final class SettingMigrations {
public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
@Override
protected void migrate(final Context context) {
boolean brightnessGestureSwitch = sp.getBoolean(
final boolean brightnessGestureSwitch = sp.getBoolean(
context.getString(R.string.left_gesture_control_key), true);
boolean volumeGestureSwitch = sp.getBoolean(
final boolean volumeGestureSwitch = sp.getBoolean(
context.getString(R.string.right_gesture_control_key), true);
SharedPreferences.Editor editor = sp.edit();
final SharedPreferences.Editor editor = sp.edit();
if (volumeGestureSwitch) {
if (!brightnessGestureSwitch) {