mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-05-25 13:52:12 +00:00
missing guard
This commit is contained in:
parent
9941c6e870
commit
ba06126a3c
1 changed files with 6 additions and 4 deletions
|
|
@ -77,10 +77,12 @@ class SaveToGalleryButtonState extends State<SaveToGalleryButton> {
|
||||||
await newService.storeMediaFile();
|
await newService.storeMediaFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
setState(() {
|
if (mounted) {
|
||||||
_imageSaved = true;
|
setState(() {
|
||||||
_imageSaving = false;
|
_imageSaved = true;
|
||||||
});
|
_imageSaving = false;
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue