diff --git a/lib/main.dart b/lib/main.dart index 4135dc8..f6c5b70 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -295,7 +295,9 @@ class _AuthenticationWrapperState extends State { super.initState(); // Temporary Fix: Can be removed if the flutter engine implements the fix itself // Activate the highest supported refresh rate on the device - setOptimalDisplayMode(); + if (Platform.isAndroid) { + setOptimalDisplayMode(); + } initializeDateFormatting(); // For sharing files coming from outside the app while the app is still opened ReceiveSharingIntent.getMediaStream()