Render image and video in galleries as a grid (#5929)

This commit is contained in:
Mauro
2026-07-24 18:47:39 +02:00
committed by GitHub
parent 5d0343c480
commit 274da99787
39 changed files with 464 additions and 5 deletions
@@ -278,6 +278,15 @@ nonisolated struct VideoInfoProxy: Hashable {
mimeType: nil,
fileSize: 45_167_000)
}
static func mockVideo(duration: TimeInterval) -> VideoInfoProxy {
.init(source: mockVideo.source,
duration: duration,
size: .init(width: 1920, height: 1080),
aspectRatio: 1.78,
mimeType: nil,
fileSize: 45_167_000)
}
}
nonisolated struct ImageInfoProxy: Hashable {