feat: show the server name in the system UI

I changed the display name from "DNSecure" to the current server name. It is used in the system's settings UI.
This commit is contained in:
Kenta Kubo 2025-09-03 23:01:17 +09:00
parent 91b4c755f2
commit d5534d6e34

View file

@ -96,6 +96,7 @@ struct ContentView {
}
let manager = NEDNSSettingsManager.shared()
manager.localizedDescription = server.name
manager.dnsSettings = server.configuration.toDNSSettings()
manager.onDemandRules = server.onDemandRules.toNEOnDemandRules()
manager.saveToPreferences { saveError in