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();
} }
setState(() { if (mounted) {
_imageSaved = true; setState(() {
_imageSaving = false; _imageSaved = true;
}); _imageSaving = false;
});
}
}, },
child: Row( child: Row(
children: [ children: [