mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-08 22:56:41 +01:00
21 lines
461 B
Swift
21 lines
461 B
Swift
// 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)
|
|
}
|
|
}
|
|
}
|