mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Render image and video in galleries as a grid (#5929)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user