refactor
This commit is contained in:
parent
badd098fe0
commit
661f57d599
@ -144,9 +144,7 @@ class _MyHomePageState extends State<MyHomePage> {
|
|||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catchError((_) {
|
.catchError((_) {
|
||||||
setState(() {
|
setState(() => _allowAdd = true);
|
||||||
_allowAdd = true;
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user