Merge branch 'main' into feature/routing_fixes
# Conflicts: # lib/logic/app_logic.dart
This commit is contained in:
commit
59af5d9e3e
@ -53,8 +53,8 @@ class AppLogic {
|
||||
await AppBitmaps.init();
|
||||
|
||||
// Set preferred refresh rate to the max possible (the OS may ignore this)
|
||||
if (PlatformInfo.isAndroid) {
|
||||
FlutterDisplayMode.setHighRefreshRate();
|
||||
if (!kIsWeb && PlatformInfo.isAndroid) {
|
||||
await FlutterDisplayMode.setHighRefreshRate();
|
||||
}
|
||||
|
||||
// Settings
|
||||
|
@ -12,7 +12,7 @@ class AppHaptics {
|
||||
|
||||
static void buttonPress() {
|
||||
// Android/Fuchsia expect haptics on all button presses, iOS does not.
|
||||
if (PlatformInfo.isAndroid) {
|
||||
if (!kIsWeb && PlatformInfo.isAndroid) {
|
||||
lightImpact();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user