mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 04:18:31 +00:00
Composer mode UI updates (#984)
* Fixes #975 - Update editing message UI * Fixes #976 - Update reply composer mode UI to include message being replied to * Use different icon corner radii in the timeline reply view depending on its placement
This commit is contained in:
@@ -443,7 +443,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
avatarURL: nil)
|
||||
}
|
||||
|
||||
let replyContent: TimelineItemReplyContent
|
||||
let replyContent: EventBasedMessageTimelineItemContentType
|
||||
switch message.msgtype() {
|
||||
case .audio(let content):
|
||||
replyContent = .audio(buildAudioTimelineItemContent(content))
|
||||
@@ -463,7 +463,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
|
||||
return nil
|
||||
}
|
||||
|
||||
return .loaded(sender: sender, content: replyContent)
|
||||
return .loaded(sender: sender, contentType: replyContent)
|
||||
case let .error(message):
|
||||
return .error(eventID: details.eventId, message: message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user