mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
stop showing live location disclaimer when accepted.
This commit is contained in:
@@ -58,6 +58,15 @@ class LiveLocationManager: NSObject, LiveLocationManagerProtocol, CLLocationMana
|
||||
|
||||
// MARK: - LiveLocationManagerProtocol
|
||||
|
||||
var hasDisplayedLiveLocationDisclaimer: Bool {
|
||||
get {
|
||||
appSettings.liveLocationDisclaimerDisplayed
|
||||
}
|
||||
set {
|
||||
appSettings.liveLocationDisclaimerDisplayed = newValue
|
||||
}
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
func requestAlwaysAuthorizationIfPossible() -> Bool {
|
||||
guard !appSettings.hasRequestedLocationAlwaysLocationAuthorization else { return false }
|
||||
|
||||
Reference in New Issue
Block a user