style(android): use Offline bridge status

This commit is contained in:
Peter Steinberger committed 2025-12-18 00:20:28 +01:00
1 parent ac4a65ddfd
commit abbe237cc0
2 files changed
+2 -2

No files matched your search

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