wip
This commit is contained in:
parent
4f90a0d744
commit
e6fe7c538c
|
@ -80,6 +80,9 @@ extension Client {
|
||||||
credentials.isActive = isActive
|
credentials.isActive = isActive
|
||||||
Task {
|
Task {
|
||||||
try? await credentials.setActive(flag: isActive)
|
try? await credentials.setActive(flag: isActive)
|
||||||
|
if isActive {
|
||||||
|
self.state = .enabled(.disconnected)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue