This commit is contained in:
Garth Vander Houwen 2024-05-14 23:07:09 -07:00
parent a4c1fc4fe6
commit 0997cc7dba
3 changed files with 2 additions and 9 deletions

View file

@ -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
// ---------------------------------------------------------------------------------------

View file

@ -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" {

View file

@ -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 {