Fix async image upload

This commit is contained in:
Thomas Ricouard 2023-01-17 08:11:37 +01:00
parent 0c071e7ad5
commit 1715122113

View File

@ -19,7 +19,7 @@ struct StatusEditorMediaView: View {
ZStack(alignment: .bottomTrailing) {
if container.image != nil {
makeLocalImage(container: container)
} else if let url = container.mediaAttachement?.url {
} else if let url = container.mediaAttachement?.url ?? container.mediaAttachement?.previewUrl {
makeLazyImage(url: url)
}
if container.mediaAttachement?.description?.isEmpty == false {