Skip to content

Commit

Permalink
Fixed tab closing log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Dec 11, 2023
1 parent f4cd4b1 commit 458a85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -969,15 +969,15 @@ class _DashboardPageState extends State<DashboardPage> with WindowListener {
actions: [
TextButton(
onPressed: () {
logger.debug('Closing tab: $tabData');
logger.debug('Closing tab: $tabName');
Navigator.of(context).pop();
onClose.call();
},
child: const Text('OK')),
TextButton(
onPressed: () {
logger.debug(
'Ignoring tab close for tab: $tabData, user canceled the request.');
'Ignoring tab close for tab: $tabName, user canceled the request.');
Navigator.of(context).pop();
},
child: const Text('Cancel')),
Expand Down

0 comments on commit 458a85d

Please sign in to comment.