mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix the media gallery's empty state showing up at wrong times.
This commit is contained in:
committed by
Stefan Ceriu
parent
3a82b88859
commit
f9be39eb4f
@@ -29,4 +29,9 @@ extension View {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ViewBuilder
|
||||
func mediaGalleryTimelineAspectRatio(imageInfo: ImageInfoProxy?) -> some View {
|
||||
aspectRatio(imageInfo?.aspectRatio, contentMode: .fill)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user