mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-19 20:29:00 -04:00
feat: Update connected count string in strings.xml and MeshService.kt (#1776)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user