mirror of
https://github.com/gskinnerTeam/flutter-wonderous-app.git
synced 2025-08-26 03:26:38 +08:00
Fix for #158: Add kIsWeb check to instances where we want android-specific behaviors.
This commit is contained in:
@ -53,7 +53,7 @@ class AppLogic {
|
||||
await AppBitmaps.init();
|
||||
|
||||
// Set preferred refresh rate to the max possible (the OS may ignore this)
|
||||
if (PlatformInfo.isAndroid) {
|
||||
if (!kIsWeb && PlatformInfo.isAndroid) {
|
||||
await FlutterDisplayMode.setHighRefreshRate();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user