mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
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:
parent
91b4c755f2
commit
d5534d6e34
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue