Cleanup LawnchairApp

This commit is contained in:
Goooler
2022-12-06 15:25:11 +08:00
committed by Yasan
parent 6a1a7a50b8
commit c8d2d96229
2 changed files with 17 additions and 22 deletions
@@ -110,7 +110,7 @@ public class StatusBarTouchController implements TouchController {
}
private void vibrate() {
if (!LawnchairAppKt.getLawnchairApp(mLauncher).getVibrateOnIconAnimation()) {
if (!LawnchairAppKt.getLawnchairApp(mLauncher).isVibrateOnIconAnimation()) {
VibratorWrapper.INSTANCE.get(mLauncher).vibrate(VibratorWrapper.OVERVIEW_HAPTIC);
}
}
@@ -203,4 +203,4 @@ public class StatusBarTouchController implements TouchController {
}
return true;
}
}
}