mastodon-app-ufficiale-ipho.../MastodonSDK/Sources/MastodonCore/UserDefaults+Authentication...

21 lines
461 B
Swift
Raw Normal View History

2023-06-13 12:36:48 +02:00
// Copyright © 2023 Mastodon gGmbH. All rights reserved.
import Foundation
public extension UserDefaults {
enum Keys {
static let didMigrateAuthenticationsKey = "didMigrateAuthentications"
}
@objc dynamic var didMigrateAuthentications: Bool {
get {
return bool(forKey: Keys.didMigrateAuthenticationsKey)
}
set {
set(newValue, forKey: Keys.didMigrateAuthenticationsKey)
}
}
}