mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Rebind location service when the previous sharing is stopped.
This commit is contained in:
parent
7999bd7523
commit
fbbadc8138
1 changed files with 2 additions and 0 deletions
|
@ -1229,6 +1229,8 @@ class TimelineViewModel @AssistedInject constructor(
|
|||
|
||||
override fun onLocationServiceStopped() {
|
||||
_viewEvents.post(RoomDetailViewEvents.HideLocationSharingIndicator)
|
||||
// Bind again in case user decides to share live location without leaving the room
|
||||
locationSharingServiceConnection.bind(this)
|
||||
}
|
||||
|
||||
override fun onCleared() {
|
||||
|
|
Loading…
Reference in a new issue