feat: Update connected count string in strings.xml and MeshService.kt (#1776)

This commit is contained in:
James Rich 2025-04-22 09:54:10 -05:00 committed by GitHub
parent f4b47ad7e7
commit 18c204741a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

@ -228,8 +228,7 @@ class MeshService : Service(), Logging {
private val notificationSummary
get() = when (connectionState) {
ConnectionState.CONNECTED -> getString(R.string.connected_count).format(
numOnlineNodes,
numNodes
numOnlineNodes
)
ConnectionState.DISCONNECTED -> getString(R.string.disconnected)
ConnectionState.DEVICE_SLEEP -> getString(R.string.device_sleeping)

View file

@ -117,7 +117,7 @@
<string name="share">Share</string>
<string name="disconnected">Disconnected</string>
<string name="device_sleeping">Device sleeping</string>
<string name="connected_count">Connected: %1$s of %2$s online</string>
<string name="connected_count">Connected: %1$s online</string>
<string name="update_firmware">Update Firmware</string>
<string name="ip_address">IP Address:</string>
<string name="connected">Connected to radio</string>