Update platform guard to only include androids

This commit is contained in:
Anton Stubenbord
2023-02-11 12:49:11 +01:00
committed by GitHub
parent ba1387fdf5
commit 79e1d6e0de

View File

@@ -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();