From 79e1d6e0dea05897e223fe5ab2a3e588e11db9c0 Mon Sep 17 00:00:00 2001 From: Anton Stubenbord <79228196+astubenbord@users.noreply.github.com> Date: Sat, 11 Feb 2023 12:49:11 +0100 Subject: [PATCH] Update platform guard to only include androids --- lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index c9796ca..14e4918 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -143,7 +143,7 @@ void main() async { .preferredLocaleSubtag = event.preferredLocaleSubtag); -if (!Platform.isIOS) { +if (Platform.isAndroid) { // Temporary Fix: Can be removed if the flutter engine implements the fix itself // Activate the highest availabe refresh rate on the device await FlutterDisplayMode.setHighRefreshRate();