mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-03 04:48:50 +00:00
Fix async image upload
This commit is contained in:
parent
0c071e7ad5
commit
1715122113
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ struct StatusEditorMediaView: View {
|
||||||
ZStack(alignment: .bottomTrailing) {
|
ZStack(alignment: .bottomTrailing) {
|
||||||
if container.image != nil {
|
if container.image != nil {
|
||||||
makeLocalImage(container: container)
|
makeLocalImage(container: container)
|
||||||
} else if let url = container.mediaAttachement?.url {
|
} else if let url = container.mediaAttachement?.url ?? container.mediaAttachement?.previewUrl {
|
||||||
makeLazyImage(url: url)
|
makeLazyImage(url: url)
|
||||||
}
|
}
|
||||||
if container.mediaAttachement?.description?.isEmpty == false {
|
if container.mediaAttachement?.description?.isEmpty == false {
|
||||||
|
|
Loading…
Reference in a new issue