diff --git a/app/src/main/java/com/geeksville/mesh/ui/components/NodeKeyStatusIcon.kt b/app/src/main/java/com/geeksville/mesh/ui/components/NodeKeyStatusIcon.kt index 10b814aa2..174fff468 100644 --- a/app/src/main/java/com/geeksville/mesh/ui/components/NodeKeyStatusIcon.kt +++ b/app/src/main/java/com/geeksville/mesh/ui/components/NodeKeyStatusIcon.kt @@ -92,9 +92,14 @@ private fun KeyStatusDialog( Spacer(Modifier.height(16.dp)) if (key != null && title == R.string.encryption_pkc) { val keyString = Base64.encodeToString(key.toByteArray(), Base64.NO_WRAP) + Text( + text = stringResource(id = R.string.config_security_public_key) + ":", + textAlign = TextAlign.Center, + ) + Spacer(Modifier.height(8.dp)) SelectionContainer { Text( - text = "Public Key: $keyString", + text = keyString, textAlign = TextAlign.Center, ) } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a67242570..63975f30e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -68,6 +68,8 @@ Disables the triple-press of user button to enable or disable GPS. Controls the blinking LED on the device. For most devices this will control one of the up to 4 LEDs, the charger and GPS LEDs are not controllable. Whether in addition to sending it to MQTT and the PhoneAPI, our NeighborInfo should be transmitted over LoRa. Not available on a channel with default key and name. + Public Key + Private Key MSL ChUtil %.1f%% AirUtilTX %.1f%%