mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-08-15 07:06:11 +00:00
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:
parent
98e0d061ee
commit
57e078530b
@ -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?) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user