Merge branch 'master' into m3_redesign

This commit is contained in:
Grishka
2023-04-07 23:16:53 +03:00
2 changed files with 9 additions and 1 deletions

View File

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