mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
feat: Update connected count string in strings.xml and MeshService.kt (#1776)
This commit is contained in:
parent
f4b47ad7e7
commit
18c204741a
2 changed files with 2 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue