Skip to content

Commit

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

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

0 comments on commit 81a69b5

Please sign in to comment.