implemented the usage of the live location manager permission handling in the location sharing screen.

This commit is contained in:
Mauro Romito
2026-03-31 02:10:21 +02:00
committed by Mauro
parent b31d0cad75
commit d67c1a93db
11 changed files with 86 additions and 3 deletions
@@ -40,7 +40,9 @@ struct LocationPickerSheet: View {
}
}
if context.viewState.showLiveLocationSharingButton {
Button { } label: {
Button {
context.send(viewAction: .startLiveLocation)
} label: {
LocationPickerLabel(text: L10n.actionShareLiveLocation,
icon: \.locationPinSolid,
iconColor: .compound.iconAccentPrimary)