Skip to content

Commit

Permalink
fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dreautall committed Oct 13, 2024
1 parent ca7e78c commit d21bd0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pages/categories/addedit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ class _CategoryAddEditDialogState extends State<CategoryAddEditDialog> {
"Error fetching information",
resp.error,
);
Navigator.of(context).pop();
if (mounted) {
Navigator.of(context).pop();
}
}
setState(() {
includeInSum = !context
Expand Down

0 comments on commit d21bd0c

Please sign in to comment.