Remove unused AppLanguageSettings.currentOverride (Periphery)

AppInfoView reads the override via @AppStorage, so the accessor was dead
code and failed the Periphery CI scan.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jack 2026-07-25 15:30:03 +02:00
parent 98e0d061ee
commit 57e078530b

View File

@ -25,11 +25,6 @@ enum AppLanguageSettings {
return name.lowercased(with: locale)
}
static var currentOverride: String? {
let value = UserDefaults.standard.string(forKey: overrideKey) ?? ""
return value.isEmpty ? nil : value
}
/// Persists the override (nil clears it). AppleLanguages drives the
/// actual localization lookup on next launch.
static func setOverride(_ code: String?) {