From fec52af1f86bff1082f09d7ca0bade356a4a1b4e Mon Sep 17 00:00:00 2001 From: Juraj Hilje Date: Fri, 23 Feb 2024 11:08:00 +0100 Subject: [PATCH] fix: update ServiceStatus.swift --- IVPNClient/Models/ServiceStatus.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IVPNClient/Models/ServiceStatus.swift b/IVPNClient/Models/ServiceStatus.swift index 34ab40996..2397181d5 100644 --- a/IVPNClient/Models/ServiceStatus.swift +++ b/IVPNClient/Models/ServiceStatus.swift @@ -91,7 +91,7 @@ struct ServiceStatus: Codable { } func isNewStyleAccount() -> Bool { - guard let username = username else { + guard let username = KeyChain.username else { return true }