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.
This commit is contained in:
Thomas
2026-02-10 03:51:33 +00:00
committed by GitHub
parent 3462fc434e
commit c3730c8eab

View File

@@ -75,7 +75,7 @@ Future<void> initApp() async {
await EasyLocalization.ensureInitialized();
await initializeDateFormatting();
if (kReleaseMode && Platform.isAndroid) {
if (Platform.isAndroid) {
try {
await FlutterDisplayMode.setHighRefreshRate();
dPrint(() => "Enabled high refresh mode");