Remove unused aiProviderApiKey from UserDefaults
This commit is contained in:
parent
50ed8c2e51
commit
eadf889a15
@ -2,7 +2,6 @@ import Foundation
|
||||
|
||||
extension UserDefaults {
|
||||
enum Keys {
|
||||
static let aiProviderApiKey = "VoiceInkAIProviderKey"
|
||||
static let licenseKey = "VoiceInkLicense"
|
||||
static let trialStartDate = "VoiceInkTrialStartDate"
|
||||
static let audioInputMode = "audioInputMode"
|
||||
@ -15,13 +14,7 @@ extension UserDefaults {
|
||||
static let trialStartDate = "VoiceInkTrialStartDate"
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - AI Provider API Key
|
||||
var aiProviderApiKey: String? {
|
||||
get { string(forKey: Keys.aiProviderApiKey) }
|
||||
set { setValue(newValue, forKey: Keys.aiProviderApiKey) }
|
||||
}
|
||||
|
||||
|
||||
// MARK: - License Key
|
||||
var licenseKey: String? {
|
||||
get { string(forKey: Keys.licenseKey) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user