From 1c9841fc19e6c456ac21efedda8d68264503b551 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Thu, 17 Oct 2024 16:05:29 -0400 Subject: [PATCH] Reload nebula even if we can't save vpn profile --- ios/Runner/DNUpdate.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ios/Runner/DNUpdate.swift b/ios/Runner/DNUpdate.swift index 8ac24ab..2602969 100644 --- a/ios/Runner/DNUpdate.swift +++ b/ios/Runner/DNUpdate.swift @@ -66,9 +66,10 @@ class DNUpdater { newSite?.save(manager: site.manager) { error in if (error != nil) { self.log.error("failed to save update: \(error!.localizedDescription, privacy: .public)") - } else { - onUpdate(Site(incoming: newSite!)) } + + // reload nebula even if we couldn't save the vpn profile + onUpdate(Site(incoming: newSite!)) } if (credentials.invalid) {