Add focused location tracking when opening the map

This commit is contained in:
ganfra 2026-04-10 21:11:30 +02:00
parent 5f3226107a
commit f6eeea2134
6 changed files with 28 additions and 16 deletions

View file

@ -571,7 +571,7 @@ class MessagesFlowNode(
}
is TimelineItemLocationContent -> {
val mode = when(event.content.mode){
is TimelineItemLocationContent.Mode.Live -> ShowLocationMode.Live
is TimelineItemLocationContent.Mode.Live -> ShowLocationMode.Live(event.senderId)
is TimelineItemLocationContent.Mode.Static -> ShowLocationMode.Static(
location = event.content.mode.location,
senderName = event.safeSenderName,