From e3d00d2b3e14697c7dc6b473c3a7bda2172d0ad1 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Fri, 3 Mar 2023 18:47:25 +0100 Subject: [PATCH] Composer: Don't allow description until the image is finished processing --- .../Status/Editor/Components/StatusEditorMediaView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorMediaView.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorMediaView.swift index a790041c..7bddbda2 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorMediaView.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorMediaView.swift @@ -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