style(android): use Offline bridge status

This commit is contained in:
Peter Steinberger
2025-12-18 00:20:28 +01:00
parent ac4a65ddfd
commit abbe237cc0
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class NodeRuntime(context: Context) {
private val _isConnected = MutableStateFlow(false)
val isConnected: StateFlow<Boolean> = _isConnected.asStateFlow()
private val _statusText = MutableStateFlow("Not connected")
private val _statusText = MutableStateFlow("Offline")
val statusText: StateFlow<String> = _statusText.asStateFlow()
private val _serverName = MutableStateFlow<String?>(null)

View File

@@ -76,7 +76,7 @@ class BridgeSession(
scope.launch(Dispatchers.IO) {
job?.cancelAndJoin()
job = null
onDisconnected("Disconnected")
onDisconnected("Offline")
}
}