summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ios/MullvadVPN/AppDelegate.swift2
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/MullvadVPN/AppDelegate.swift b/ios/MullvadVPN/AppDelegate.swift
index a2239e3e7c..aef14c594a 100644
--- a/ios/MullvadVPN/AppDelegate.swift
+++ b/ios/MullvadVPN/AppDelegate.swift
@@ -502,7 +502,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
}
SettingsManager.resetStore(completely: true)
+ try? SettingsManager.writeSettings(LatestTunnelSettings())
+ // Default access methods need to be repopulated again after settings wipe.
self.accessMethodRepository.reloadWithDefaultsAfterDataRemoval()
// At app startup, the relay cache tracker will get populated with a list of overriden IPs.
// The overriden IPs will get wiped, therefore, the cache needs to be pruned as well.