Skip to content

Commit

Permalink
fixes: Window Closing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshuverma-dev committed Nov 12, 2024
1 parent cb8ab81 commit f2b3bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/frame/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class _HomeFrameState extends ConsumerState<HomeFrame>
child: const Text('Close'),
onPressed: () async {
Navigator.of(context).pop();
await windowManager.close();
await windowManager.destroy();
},
),
],
Expand Down

0 comments on commit f2b3bef

Please sign in to comment.