From c3730c8eabf1849150d500dbabf638952127cfd0 Mon Sep 17 00:00:00 2001 From: Thomas <9749173+uhthomas@users.noreply.github.com> Date: Tue, 10 Feb 2026 03:51:33 +0000 Subject: [PATCH] chore(mobile): enable high refresh rate in debug builds (#26085) I'm testing changes to animations and app performance, and noticed it felt quite sluggish on a 120hz display. It turns out that high refresh is disabled in debug builds. It's probably a good idea to enable it so that it more closely mirrors the production build. --- mobile/lib/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/main.dart b/mobile/lib/main.dart index b263c52cf..86b1c6cc5 100644 --- a/mobile/lib/main.dart +++ b/mobile/lib/main.dart @@ -75,7 +75,7 @@ Future initApp() async { await EasyLocalization.ensureInitialized(); await initializeDateFormatting(); - if (kReleaseMode && Platform.isAndroid) { + if (Platform.isAndroid) { try { await FlutterDisplayMode.setHighRefreshRate(); dPrint(() => "Enabled high refresh mode");