1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-22 02:53:09 +01: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) { public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
@Override @Override
protected void migrate(final Context context) { protected void migrate(final Context context) {
boolean brightnessGestureSwitch = sp.getBoolean( final boolean brightnessGestureSwitch = sp.getBoolean(
context.getString(R.string.left_gesture_control_key), true); 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); context.getString(R.string.right_gesture_control_key), true);
SharedPreferences.Editor editor = sp.edit(); final SharedPreferences.Editor editor = sp.edit();
if (volumeGestureSwitch) { if (volumeGestureSwitch) {
if (!brightnessGestureSwitch) { if (!brightnessGestureSwitch) {