fixed warning

This commit is contained in:
2026-06-19 13:48:55 +02:00
parent e8057a8cc6
commit 20a7c88d2f
+1 -1
View File
@@ -168,7 +168,7 @@ class _TaskEditPageState extends State<TaskEditPage> {
], ],
), ),
).then((result) { ).then((result) {
if (result != null && result && context.mounted) { if (result != null && result && mounted) {
Navigator.of(context).pop(); Navigator.of(context).pop();
} }
}); });