This commit is contained in:
otsmr 2025-04-08 15:26:05 +02:00
parent 23f678a36d
commit 59b73b3213

View file

@ -419,10 +419,10 @@ class _ShareImageEditorView extends State<ShareImageEditorView> {
: FaIcon(FontAwesomeIcons.solidPaperPlane), : FaIcon(FontAwesomeIcons.solidPaperPlane),
onPressed: () async { onPressed: () async {
if (sendingImage) return; if (sendingImage) return;
if (globalSendNextMediaToUser != null) {
setState(() { setState(() {
sendingImage = true; sendingImage = true;
}); });
if (globalSendNextMediaToUser != null) {
Uint8List? imageBytes = await getMergedImage(); Uint8List? imageBytes = await getMergedImage();
if (!context.mounted) return; if (!context.mounted) return;
if (imageBytes == null) { if (imageBytes == null) {