Composer: Don't allow description until the image is finished processing

This commit is contained in:
Thomas Ricouard 2023-03-03 18:47:25 +01:00
parent 636cf54b61
commit e3d00d2b3e

View File

@ -105,7 +105,7 @@ struct StatusEditorMediaView: View {
@ViewBuilder
private func makeImageMenu(container: StatusEditorMediaContainer) -> some View {
if container.mediaAttachment != nil {
if container.mediaAttachment?.url != nil {
if currentInstance.isEditAltTextSupported || !viewModel.mode.isEditing {
Button {
editingContainer = container