Fix the media gallery's empty state showing up at wrong times.

This commit is contained in:
Stefan Ceriu
2024-12-16 11:12:01 +02:00
committed by Stefan Ceriu
parent 3a82b88859
commit f9be39eb4f
19 changed files with 80 additions and 60 deletions
@@ -29,4 +29,9 @@ extension View {
}
}
}
@ViewBuilder
func mediaGalleryTimelineAspectRatio(imageInfo: ImageInfoProxy?) -> some View {
aspectRatio(imageInfo?.aspectRatio, contentMode: .fill)
}
}