Skip to content

Commit

Permalink
Fix the Privacy Pro build, attempt #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsymons committed Dec 24, 2023
1 parent c2ee464 commit 66c11b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import NetworkProtectionUI
#endif

#if SUBSCRIPTION
import Account
import Subscription
import SubscriptionUI
#endif

Expand Down Expand Up @@ -336,7 +336,7 @@ final class NavigationBarViewController: NSViewController {
let accountManager = AccountManager()
let networkProtectionTokenStorage = NetworkProtectionKeychainTokenStore()

if accountManager.token != nil && (try? networkProtectionTokenStorage.fetchToken()) == nil {
if accountManager.authToken != nil && (try? networkProtectionTokenStorage.fetchToken()) == nil {
print("[NetP Subscription] Got access token but not auth token, meaning token exchange failed")
return
}
Expand Down

0 comments on commit 66c11b9

Please sign in to comment.