diff --git a/auth/lib/main.dart b/auth/lib/main.dart index 1dc7ff688..d459dfa13 100644 --- a/auth/lib/main.dart +++ b/auth/lib/main.dart @@ -1,3 +1,5 @@ +import 'dart:io'; + import 'package:adaptive_theme/adaptive_theme.dart'; import 'package:computer/computer.dart'; import "package:ente_auth/app/view/app.dart"; @@ -33,7 +35,9 @@ void main() async { WidgetsFlutterBinding.ensureInitialized(); await _runInForeground(); await _setupPrivacyScreen(); - FlutterDisplayMode.setHighRefreshRate(); + if (Platform.isAndroid) { + FlutterDisplayMode.setHighRefreshRate().ignore(); + } } Future _runInForeground() async {