mirror of
https://github.com/kkebo/DNSecure.git
synced 2026-03-11 08:54:36 +00:00
Fix NEDNSSettingsErrorDomain 3 when the app becomes active
Fixes #28, #29
This commit is contained in:
parent
8d686fc484
commit
247163f6aa
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ extension ContentView: View {
|
|||
.onChange(of: self.scenePhase) { phase in
|
||||
if phase == .active {
|
||||
self.updateStatus()
|
||||
} else {
|
||||
} else if phase == .background {
|
||||
// FIXME: This is a workaround for self.$severs[i].
|
||||
// That cannot save settings as soon as it is modified.
|
||||
guard let id = self.usedID,
|
||||
|
|
|
|||
Loading…
Reference in a new issue