Merge pull request #6626 from vector-im/feature/mna/open-map-on-tap-of-lls-status-bar

[Location sharing] - OnTap on the top live status bar, display the expanded map view (PSG-614)
This commit is contained in:
Maxime NATUREL 2022-07-25 17:40:33 +02:00 committed by GitHub
commit c3bc53fe48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

1
changelog.d/6625.misc Normal file
View file

@ -0,0 +1 @@
[Location sharing] - OnTap on the top live status bar, display the expanded map view

View file

@ -860,6 +860,9 @@ class TimelineFragment @Inject constructor(
views.locationLiveStatusIndicator.stopButton.debouncedClicks {
timelineViewModel.handle(RoomDetailAction.StopLiveLocationSharing)
}
views.locationLiveStatusIndicator.debouncedClicks {
navigateToLocationLiveMap()
}
}
private fun joinJitsiRoom(jitsiWidget: Widget, enableVideo: Boolean) {