implement the stop action in the LiveLocationRoomTimelineView

This commit is contained in:
Mauro Romito
2026-04-02 21:54:09 +02:00
committed by Mauro
parent 960183d516
commit 208c21c2a0
3 changed files with 7 additions and 1 deletions
@@ -199,6 +199,8 @@ class TimelineViewModel: TimelineViewModelType, TimelineViewModelProtocol {
handlePollAction(pollAction)
case .handleAudioPlayerAction(let audioPlayerAction):
handleAudioPlayerAction(audioPlayerAction)
case .stopLiveLocationSharing:
Task { await userSession.liveLocationManager.stopLiveLocation(roomID: state.roomID) }
case .focusOnEventID(let eventID):
Task { await focusOnEvent(eventID: eventID) }
case .focusLive: