mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 04:53:54 +00:00
[ios] Change how authorization check after editing is handled
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
@@ -123,13 +123,6 @@ import OSMEditor
|
||||
}
|
||||
|
||||
|
||||
/// Request reauthorization of the OpenStreetMap profile
|
||||
/// - Parameter shouldReauthorize: If the profile should be reauthorized
|
||||
@objc static func requestReauthorization(shouldReauthorize: Bool = true) {
|
||||
UserDefaults.standard.set(shouldReauthorize, forKey: userDefaultsNeedsReauthorization)
|
||||
}
|
||||
|
||||
|
||||
/// Reload the OpenStreetMap profile data
|
||||
/// - Returns: Optional profile data
|
||||
static private func reloadUserPreferences() async -> osm.UserPreferences? {
|
||||
|
||||
Reference in New Issue
Block a user