mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Enable local echoes for media uploads on development builds. (#3514)
* Enable local echoes for media uploads on development builds. * Use media sizes when loading timeline items so they can take advantage of the cached local echo data.
This commit is contained in:
+6
-3
@@ -15,10 +15,13 @@ struct ImageRoomTimelineItemContent: Hashable {
|
||||
/// The original textual representation of the formatted caption directly from the event (usually HTML code)
|
||||
var formattedCaptionHTMLString: String?
|
||||
let source: MediaSourceProxy
|
||||
let thumbnailSource: MediaSourceProxy?
|
||||
var width: CGFloat?
|
||||
var height: CGFloat?
|
||||
var size: CGSize?
|
||||
var aspectRatio: CGFloat?
|
||||
|
||||
let thumbnailSource: MediaSourceProxy?
|
||||
var thumbnailSize: CGSize?
|
||||
var thumbnailAspectRatio: CGFloat?
|
||||
|
||||
var blurhash: String?
|
||||
var contentType: UTType?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user