mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Show client notification message in the logs not the JSON
This commit is contained in:
parent
9e1766b90a
commit
269f784b25
1 changed files with 2 additions and 2 deletions
|
|
@ -659,7 +659,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
|
|||
manager.notifications = [
|
||||
Notification(
|
||||
id: UUID().uuidString,
|
||||
title: "Firmware Notification",
|
||||
title: "Firmware Notification".localized,
|
||||
subtitle: "\(decodedInfo.clientNotification.level)".capitalized,
|
||||
content: decodedInfo.clientNotification.message,
|
||||
target: "settings",
|
||||
|
|
@ -667,7 +667,7 @@ class BLEManager: NSObject, CBPeripheralDelegate, MqttClientProxyManagerDelegate
|
|||
)
|
||||
]
|
||||
manager.schedule()
|
||||
Logger.data.error("⚠️ Client Notification \((try? decodedInfo.clientNotification.jsonString()) ?? "JSON Decode Failure", privacy: .public)")
|
||||
Logger.data.error("⚠️ Client Notification: \(decodedInfo.clientNotification.message, privacy: .public)")
|
||||
}
|
||||
|
||||
switch decodedInfo.packet.decoded.portnum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue