mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
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:
parent
3462fc434e
commit
c3730c8eab
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue