Remove unused aiProviderApiKey from UserDefaults

This commit is contained in:
Beingpax 2026-01-05 22:37:56 +05:45
parent 50ed8c2e51
commit eadf889a15

View File

@ -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"
@ -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
var licenseKey: String? {
get { string(forKey: Keys.licenseKey) }