From 57e078530b14b7aa4eda618a8828a048c0cdec8e Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 25 Jul 2026 15:30:03 +0200 Subject: [PATCH] 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 --- bitchat/Utils/AppLanguageSettings.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bitchat/Utils/AppLanguageSettings.swift b/bitchat/Utils/AppLanguageSettings.swift index 1ec27846..0bde5377 100644 --- a/bitchat/Utils/AppLanguageSettings.swift +++ b/bitchat/Utils/AppLanguageSettings.swift @@ -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?) {