diff options
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/CHANGELOG.md | 1 | ||||
| -rw-r--r-- | ios/MullvadVPN/TunnelManager.swift | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ios/CHANGELOG.md b/ios/CHANGELOG.md index dd504ed5fe..36ece08e5a 100644 --- a/ios/CHANGELOG.md +++ b/ios/CHANGELOG.md @@ -29,6 +29,7 @@ Line wrap the file at 100 chars. Th ### Fixed - Fix bug which caused the tunnel manager to become unresponsive in the rare event of failure to disable on-demand when stopping the tunnel from within the app. +- Fix bug that caused the app to skip tunnel settings migration from older versions of the app. ## [2021.1] - 2021-03-16 diff --git a/ios/MullvadVPN/TunnelManager.swift b/ios/MullvadVPN/TunnelManager.swift index f8085c08da..ddac561e93 100644 --- a/ios/MullvadVPN/TunnelManager.swift +++ b/ios/MullvadVPN/TunnelManager.swift @@ -315,7 +315,7 @@ class TunnelManager { if let error = error { finish(.failure(.loadAllVPNConfigurations(error))) } else { - if let accountToken = self.accountToken { + if let accountToken = accountToken { // Migrate the tunnel settings if needed self.migrateTunnelSettings(accountToken: accountToken) |
