diff --git a/Meshtastic/Views/Bluetooth/Connect.swift b/Meshtastic/Views/Bluetooth/Connect.swift index 673e6a8d..c3745ebd 100644 --- a/Meshtastic/Views/Bluetooth/Connect.swift +++ b/Meshtastic/Views/Bluetooth/Connect.swift @@ -221,12 +221,12 @@ struct Connect: View { } do { try container.copyPersistentStores(to: url.appendingPathComponent("backup").appendingPathComponent("\(UserDefaults.preferredPeripheralNum)"), overwriting: true) - clearCoreDataDatabase(context: context, includeRoutes: true) Logger.data.notice("🗂️ Made a core data backup to backup/\(UserDefaults.preferredPeripheralNum)") } catch { Logger.data.error("🗂️ Core data backup copy error: \(error, privacy: .public)") } + clearCoreDataDatabase(context: context, includeRoutes: false) } UserDefaults.preferredPeripheralId = selectedPeripherialId self.bleManager.connectTo(peripheral: peripheral.peripheral) diff --git a/protobufs b/protobufs index 1198b7db..0fd5023a 160000 --- a/protobufs +++ b/protobufs @@ -1 +1 @@ -Subproject commit 1198b7dbabf9768cb0143d2897707b4c7a51a5da +Subproject commit 0fd5023a0aa67eefdf2292a624e8fbbda4489a6c