Show descriptions for locations.
Descriptions show in the same message bubble above the map in the timeline, and in a bar at the top of the expanded map view.
This commit is contained in:
parent
78a26c034e
commit
83338131fd
8 changed files with 31 additions and 15 deletions
|
|
@ -55,7 +55,7 @@ class EventMessageMapper {
|
|||
ImageMessageType(type.content.body, type.content.source.map(), type.content.info?.map())
|
||||
}
|
||||
is MessageType.Location -> {
|
||||
LocationMessageType(type.content.body, type.content.geoUri)
|
||||
LocationMessageType(type.content.body, type.content.geoUri, type.content.description)
|
||||
}
|
||||
is MessageType.Notice -> {
|
||||
NoticeMessageType(type.content.body, type.content.formatted?.map())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue