mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update how file captions are rendered (#3554)
* Update the File/Audio captions layout to match Figma. * Fix caption sizing issues. The send info label was being added incorrectly. * Update icon size and regenerate snapshots. * Fix a regression in the location timeline item layout.
This commit is contained in:
@@ -237,6 +237,7 @@ struct MessageComposer_Previews: PreviewProvider, TestablePreview {
|
||||
duration: 100,
|
||||
waveform: nil,
|
||||
source: nil,
|
||||
fileSize: nil,
|
||||
contentType: nil)))),
|
||||
.loaded(sender: .init(id: "James"),
|
||||
eventID: "123",
|
||||
@@ -246,6 +247,7 @@ struct MessageComposer_Previews: PreviewProvider, TestablePreview {
|
||||
eventContent: .message(.file(.init(filename: "brain-surgery.pdf",
|
||||
caption: "File: Crash course in brain surgery",
|
||||
source: nil,
|
||||
fileSize: nil,
|
||||
thumbnailSource: nil,
|
||||
contentType: nil)))),
|
||||
.loaded(sender: .init(id: "Cliff"),
|
||||
|
||||
Reference in New Issue
Block a user