mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 18:42:47 +02:00
LocationSharingView: Dismiss always authorization requirement alert on cancel.
This commit is contained in:
@@ -158,7 +158,7 @@ class LocationSharingViewModel: LocationSharingViewModelType, LocationSharingVie
|
||||
self.state.bindings.alertInfo = AlertInfo(id: .userLocatingError,
|
||||
title: VectorL10n.locationSharingAllowBackgroundLocationTitle,
|
||||
message: VectorL10n.locationSharingAllowBackgroundLocationMessage,
|
||||
primaryButton: (VectorL10n.locationSharingAllowBackgroundLocationCancelAction, { [weak self] in self?.state.bindings.showingTimerSelector = true }),
|
||||
primaryButton: (VectorL10n.locationSharingAllowBackgroundLocationCancelAction, {}),
|
||||
secondaryButton: (VectorL10n.locationSharingAllowBackgroundLocationValidateAction, { UIApplication.shared.vc_openSettings() }))
|
||||
case .authorizedAlways:
|
||||
self.state.bindings.showingTimerSelector = true
|
||||
|
||||
Reference in New Issue
Block a user