mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-23 13:28:50 +01:00
Fix async image upload
This commit is contained in:
parent
0c071e7ad5
commit
1715122113
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user