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