This commit is contained in:
fmodf 2024-10-21 18:09:21 +02:00
parent 4f90a0d744
commit e6fe7c538c

View file

@ -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)
}
} }
} }