From f2ad2bc3e0b20e325510328e1de8dddd8a1a6358 Mon Sep 17 00:00:00 2001 From: Simon McLoughlin <simon.d.mcl@gmail.com> Date: Tue, 13 Feb 2024 17:26:25 +0000 Subject: [PATCH] - bump library to avoid RPC's percent encoding "?" - ensure whatever URLs are supplied and updated on each app launch --- .../xcshareddata/swiftpm/Package.resolved | 2 +- Kukai Mobile/AppDelegate.swift | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Kukai Mobile.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Kukai Mobile.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 8a267e95..fd2bd017 100644 --- a/Kukai Mobile.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Kukai Mobile.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -69,7 +69,7 @@ "location" : "https://github.com/kukai-wallet/kukai-core-swift", "state" : { "branch" : "develop", - "revision" : "d9fa35dfde5cb03deac48db01f2a4fcd4d9a12e8" + "revision" : "50642c483fcc185a2bf55f3fc2334154f703b79d" } }, { diff --git a/Kukai Mobile/AppDelegate.swift b/Kukai Mobile/AppDelegate.swift index 4b356272..1fc45195 100644 --- a/Kukai Mobile/AppDelegate.swift +++ b/Kukai Mobile/AppDelegate.swift @@ -51,6 +51,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate { // process special arguments coming from XCUITest to do things like show keyboard and reset app data processXCUITestArguments() + // Reset server URL list cache, incase its edited between versions + if DependencyManager.shared.currentNetworkType == .mainnet { + DependencyManager.shared.setDefaultMainnetURLs() + } else { + DependencyManager.shared.setDefaultTestnetURLs() + } + return true }