style(android): use Offline bridge status
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user