diff --git a/MeshtasticClient/Info.plist b/MeshtasticClient/Info.plist
index 85d9e776..1a7b3ab5 100644
--- a/MeshtasticClient/Info.plist
+++ b/MeshtasticClient/Info.plist
@@ -40,7 +40,7 @@
LSRequiresIPhoneOS
LSSupportsOpeningDocumentsInPlace
-
+
NSBluetoothAlwaysUsageDescription
We use bluetooth to connect to nearby Meshtastic Devices
NSBluetoothPeripheralUsageDescription
diff --git a/MeshtasticClient/Views/Nodes/NodeDetail.swift b/MeshtasticClient/Views/Nodes/NodeDetail.swift
index a638828c..a32533c7 100644
--- a/MeshtasticClient/Views/Nodes/NodeDetail.swift
+++ b/MeshtasticClient/Views/Nodes/NodeDetail.swift
@@ -271,7 +271,7 @@ struct NodeDetail: View {
.padding(1)
}
}
- .navigationTitle(node != nil ? String(node.user!.longName ?? "Unknown") : "Unknown")
+ .navigationTitle((node != nil && node.user != nil) ? String(node.user!.longName ?? "Unknown") : "Unknown")
.navigationBarTitleDisplayMode(.inline)
.navigationBarItems(trailing:
diff --git a/MeshtasticClient/Views/Settings/AppSettings.swift b/MeshtasticClient/Views/Settings/AppSettings.swift
index 2978d565..6a5b9282 100644
--- a/MeshtasticClient/Views/Settings/AppSettings.swift
+++ b/MeshtasticClient/Views/Settings/AppSettings.swift
@@ -174,12 +174,12 @@ struct AppSettings: View {
// TextField("Custom Tile Server", text: $userSettings.meshMapCustomTileServer)
}
Section(header: Text("DEBUG")) {
- // Toggle(isOn: $userSettings.meshActivityLog) {
+ Toggle(isOn: $userSettings.meshActivityLog) {
- // Label("Log all Mesh activity", systemImage: "network")
- // }
- // .toggleStyle(SwitchToggleStyle(tint: .accentColor))
- if true {// userSettings.meshActivityLog {
+ Label("Log all Mesh activity", systemImage: "network")
+ }
+ .toggleStyle(SwitchToggleStyle(tint: .accentColor))
+ if userSettings.meshActivityLog {
NavigationLink(destination: MeshLog()) {
Text("View Mesh Log")
}