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),
onPressed: () async {
if (sendingImage) return;
if (globalSendNextMediaToUser != null) {
setState(() {
sendingImage = true;
});
if (globalSendNextMediaToUser != null) {
Uint8List? imageBytes = await getMergedImage();
if (!context.mounted) return;
if (imageBytes == null) {