This commit is contained in:
Grishka
2023-04-07 22:58:04 +03:00
parent 55270fe654
commit 924ea2d03a

View File

@@ -1059,6 +1059,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
if(att.isUploadingOrProcessing()) if(att.isUploadingOrProcessing())
att.cancelUpload(); att.cancelUpload();
attachments.remove(att); attachments.remove(att);
if(!areThereAnyUploadingAttachments())
uploadNextQueuedAttachment(); uploadNextQueuedAttachment();
attachmentsView.removeView(att.view); attachmentsView.removeView(att.view);
if(getMediaAttachmentsCount()==0) if(getMediaAttachmentsCount()==0)