diff --git a/Meshtastic/Helpers/MeshPackets.swift b/Meshtastic/Helpers/MeshPackets.swift index 90724201..3a7670b7 100644 --- a/Meshtastic/Helpers/MeshPackets.swift +++ b/Meshtastic/Helpers/MeshPackets.swift @@ -167,6 +167,11 @@ func localConfig (config: Config, meshlogging: Bool, context:NSManagedObjectCont if (try! config.lora.jsonString()) == "{}" { isDefault = true + if meshlogging { MeshLogger.log("📻 Default LoRa config \(String(nodeNum))") } + + } else { + + if meshlogging { MeshLogger.log("📻 Custom LoRa config \(String(nodeNum))") } } let fetchNodeInfoRequest: NSFetchRequest = NSFetchRequest.init(entityName: "NodeInfoEntity") @@ -603,7 +608,12 @@ func moduleConfig (config: ModuleConfig, meshlogging: Bool, context:NSManagedObj if (try! config.serial.jsonString()) == "{}" { isDefault = true - print("🤖 Default Serial Module config") + + if meshlogging { MeshLogger.log("🤖 Default Serial Module config \(String(nodeNum))") } + + } else { + + if meshlogging { MeshLogger.log("🤖 Custom Serial Module config \(String(nodeNum))") } } let fetchNodeInfoRequest: NSFetchRequest = NSFetchRequest.init(entityName: "NodeInfoEntity") diff --git a/Meshtastic/Views/Settings/SaveChannelQRCode.swift b/Meshtastic/Views/Settings/SaveChannelQRCode.swift index 9a329091..650a0e9d 100644 --- a/Meshtastic/Views/Settings/SaveChannelQRCode.swift +++ b/Meshtastic/Views/Settings/SaveChannelQRCode.swift @@ -12,8 +12,6 @@ struct SaveChannelQRCode: View { var body: some View { - // Show an error if there is no e/ or other validation problems - VStack { Text("Save Channel Settings?") @@ -24,16 +22,16 @@ struct SaveChannelQRCode: View { .font(.callout) .padding() - Text(String(channelHash?.path ?? "empty")) + Text(String(channelHash?.path ?? "URL did not pass through properly")) .font(.title2) .padding() - Text("Blah blah.") + Text("This does not work yet.") .font(.callout) .padding() - Text("This is forever") + Text("Swipe down to dismiss.") .padding() } }