mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-29 18:39:27 +01:00
Rebind location service when the previous sharing is stopped.
This commit is contained in:
parent
7999bd7523
commit
fbbadc8138
@ -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…
x
Reference in New Issue
Block a user