Its as broken as it was before

This commit is contained in:
LucasGGamerM
2022-12-31 20:35:29 -03:00
parent 45577fc423
commit af389f7a47

View File

@@ -1267,7 +1267,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
private void uploadMediaAttachment(DraftMediaAttachment attachment){ private void uploadMediaAttachment(DraftMediaAttachment attachment){
if(areThereAnyUploadingAttachments()){ if(areThereAnyUploadingAttachments()){
throw new IllegalStateException("there is already an attachment being uploaded"); throw new IllegalStateException("there is already an attachment being uploaded");
} }
attachment.state=AttachmentUploadState.UPLOADING; attachment.state=AttachmentUploadState.UPLOADING;
attachment.progressBar.setVisibility(View.VISIBLE); attachment.progressBar.setVisibility(View.VISIBLE);