mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +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…
Add table
Reference in a new issue