mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Location event body representation (#1368)
* Change GeoURI body format * Update location event representation
This commit is contained in:
@@ -53,6 +53,8 @@ struct RoomEventStringBuilder {
|
||||
message = L10n.commonVideo
|
||||
case .file:
|
||||
message = L10n.commonFile
|
||||
case .location:
|
||||
message = L10n.commonSharedLocation
|
||||
default:
|
||||
message = messageContent.body()
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ struct LocationRoomTimelineItem: EventBasedMessageTimelineItemProtocol, Equatabl
|
||||
let content: LocationRoomTimelineItemContent
|
||||
|
||||
var body: String {
|
||||
content.body
|
||||
L10n.commonSharedLocation
|
||||
}
|
||||
|
||||
var replyDetails: TimelineItemReplyDetails?
|
||||
|
||||
Reference in New Issue
Block a user