Skip to content

Commit

Permalink
fix(desktop): prevent flickering by waiting for window settings to apply
Browse files Browse the repository at this point in the history
  • Loading branch information
JagandeepBrar committed Mar 26, 2022
1 parent dd30c3a commit 5a2a9b7
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ class IO implements LunaWindowManager {
Future<void> initialize() async {
await windowManager.ensureInitialized();
windowManager.waitUntilReadyToShow().then((_) async {
setWindowSize();
setWindowTitle('LunaSea');

await setWindowSize();
await setWindowTitle('LunaSea');
windowManager.show();
});
}
Expand Down

0 comments on commit 5a2a9b7

Please sign in to comment.