mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
implement the stop action in the LiveLocationRoomTimelineView
This commit is contained in:
+3
-1
@@ -173,7 +173,9 @@ struct LiveLocationRoomTimelineView: View {
|
||||
Spacer()
|
||||
|
||||
if isLive, timelineItem.isOutgoing {
|
||||
Button { } label: {
|
||||
Button {
|
||||
context?.send(viewAction: .stopLiveLocationSharing)
|
||||
} label: {
|
||||
CompoundIcon(\.stop, size: .small, relativeTo: .compound.bodySMSemibold)
|
||||
.foregroundStyle(.compound.iconOnSolidPrimary)
|
||||
.padding(5)
|
||||
|
||||
Reference in New Issue
Block a user