fixed warning
This commit is contained in:
1 parent
e8057a8cc6
commit
20a7c88d2f
1 file changed
+1
-1
@@ -168,7 +168,7 @@ class _TaskEditPageState extends State<TaskEditPage> {
|
||||
],
|
||||
),
|
||||
).then((result) {
|
||||
if (result != null && result && context.mounted) {
|
||||
if (result != null && result && mounted) {
|
||||
Navigator.of(context).pop();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user