diff --git a/Meshtastic/Helpers/BLEManager.swift b/Meshtastic/Helpers/BLEManager.swift index cc5d7c7f..578daa8d 100644 --- a/Meshtastic/Helpers/BLEManager.swift +++ b/Meshtastic/Helpers/BLEManager.swift @@ -5,14 +5,6 @@ import SwiftUI import MapKit import CocoaMQTT -public protocol DeviceConnection: AnyObject { - var isSubscribed: Bool { get } - var invalidVersion: Bool { get } - //var handledDeepLinks: [DeepLink.Type] { get } - //func canHandle(deepLink: DeepLink) -> Bool - //func handle(deepLink: DeepLink) -} - // --------------------------------------------------------------------------------------- // Meshtastic BLE Device Manager // --------------------------------------------------------------------------------------- diff --git a/Meshtastic/MeshtasticAppDelegate.swift b/Meshtastic/MeshtasticAppDelegate.swift index ee4177cf..81f316cd 100644 --- a/Meshtastic/MeshtasticAppDelegate.swift +++ b/Meshtastic/MeshtasticAppDelegate.swift @@ -37,7 +37,6 @@ class MeshtasticAppDelegate: NSObject, UIApplicationDelegate, UNUserNotification AppState.shared.navigationPath = deepLink if targetValue == "map" { AppState.shared.tabSelection = Tab.map - } else if targetValue == "message" { AppState.shared.tabSelection = Tab.messages } else if targetValue == "nodes" { diff --git a/Meshtastic/Views/Nodes/Helpers/Map/MapContent/MeshMapContent.swift b/Meshtastic/Views/Nodes/Helpers/Map/MapContent/MeshMapContent.swift index cbb50828..79b88081 100644 --- a/Meshtastic/Views/Nodes/Helpers/Map/MapContent/MeshMapContent.swift +++ b/Meshtastic/Views/Nodes/Helpers/Map/MapContent/MeshMapContent.swift @@ -11,6 +11,7 @@ import MapKit @available(iOS 17.0, macOS 14.0, *) struct MeshMapContent: MapContent { + @StateObject var appState = AppState.shared /// Parameters @Binding var showUserLocation: Bool @AppStorage("meshMapShowNodeHistory") private var showNodeHistory = false @@ -92,6 +93,7 @@ struct MeshMapContent: MapContent { } } + /// Node History and Route Lines for favorites if position.nodePosition?.favorite ?? false { if showRouteLines {