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();
|
||||
}
|
||||
|
||||
setState(() {
|
||||
_imageSaved = true;
|
||||
_imageSaving = false;
|
||||
});
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
_imageSaved = true;
|
||||
_imageSaving = false;
|
||||
});
|
||||
}
|
||||
},
|
||||
child: Row(
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Reference in a new issue