diff --git a/ios/MullvadVPN/AppDelegate.swift b/ios/MullvadVPN/AppDelegate.swift index a68a78728bac..e5a96b2669e1 100644 --- a/ios/MullvadVPN/AppDelegate.swift +++ b/ios/MullvadVPN/AppDelegate.swift @@ -36,7 +36,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD private(set) var accountsProxy: REST.AccountsProxy! private(set) var devicesProxy: REST.DevicesProxy! - private(set) var accessTokenManager: REST.AccessTokenManager! private(set) var addressCacheTracker: AddressCacheTracker! private(set) var relayCacheTracker: RelayCacheTracker! private(set) var storePaymentManager: StorePaymentManager! @@ -77,7 +76,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD accountsProxy: accountsProxy, devicesProxy: devicesProxy, apiProxy: apiProxy, - accessTokenManager: accessTokenManager + accessTokenManager: proxyFactory.configuration.accessTokenManager ) let constraintsUpdater = RelayConstraintsUpdater()