missing guard

This commit is contained in:
otsmr 2026-05-13 01:31:04 +02:00
parent 9941c6e870
commit ba06126a3c

View file

@ -77,10 +77,12 @@ class SaveToGalleryButtonState extends State<SaveToGalleryButton> {
await newService.storeMediaFile(); await newService.storeMediaFile();
} }
if (mounted) {
setState(() { setState(() {
_imageSaved = true; _imageSaved = true;
_imageSaving = false; _imageSaving = false;
}); });
}
}, },
child: Row( child: Row(
children: [ children: [