diff --git a/Localizable.xcstrings b/Localizable.xcstrings index e5553909..bd3e50bc 100644 --- a/Localizable.xcstrings +++ b/Localizable.xcstrings @@ -4365,8 +4365,12 @@ } } } + }, + "BLE RSSI %lld" : { + }, "BLE RSSI: %lld" : { + "extractionState" : "stale", "localizations" : { "it" : { "stringUnit" : { @@ -16251,6 +16255,7 @@ } }, "Long Name: %@" : { + "extractionState" : "stale", "localizations" : { "de" : { "stringUnit" : { @@ -20047,6 +20052,7 @@ } }, "Num: %@" : { + "extractionState" : "stale", "localizations" : { "de" : { "stringUnit" : { @@ -28155,6 +28161,7 @@ } }, "Short Name: %@" : { + "extractionState" : "stale", "localizations" : { "de" : { "stringUnit" : { diff --git a/Meshtastic/Views/Bluetooth/Connect.swift b/Meshtastic/Views/Bluetooth/Connect.swift index 37ca7966..53e27ae6 100644 --- a/Meshtastic/Views/Bluetooth/Connect.swift +++ b/Meshtastic/Views/Bluetooth/Connect.swift @@ -105,6 +105,8 @@ struct Connect: View { .contextMenu { if node != nil { + Label("\(String(node!.num))", systemImage: "number") + Label("BLE RSSI \(connectedPeripheral.rssi)", systemImage: "cellularbars") #if !targetEnvironment(macCatalyst) if bleManager.isSubscribed { Button { @@ -124,10 +126,6 @@ struct Connect: View { } } #endif - Text("Num: \(String(node!.num))") - Text("Short Name: \(node?.user?.shortName ?? "?")") - Text("Long Name: \(node?.user?.longName?.addingVariationSelectors ?? "Unknown".localized)") - Text("BLE RSSI: \(connectedPeripheral.rssi)") if bleManager.allowDisconnect { Button(role: .destructive) { if let connectedPeripheral = bleManager.connectedPeripheral, @@ -137,7 +135,7 @@ struct Connect: View { } label: { Label("Disconnect", systemImage: "antenna.radiowaves.left.and.right.slash") } - Button { + Button(role: .destructive) { if !bleManager.sendShutdown(fromUser: node!.user!, toUser: node!.user!) { Logger.mesh.error("Shutdown Failed") }