Skip to content

Commit

Permalink
Bring window to front on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Sep 17, 2023
1 parent 81a69b5 commit f91b7c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ void main() async {
await windowManager.setMinimumSize(const Size(1280, 720));
await windowManager.setTitleBarStyle(TitleBarStyle.hidden,
windowButtonVisibility: false);

await windowManager.show();
await windowManager.focus();

runApp(Elastic(version: packageInfo.version, preferences: preferences));
Expand Down

0 comments on commit f91b7c7

Please sign in to comment.