kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
Remove noisy error disconnected toast (#3263)
rodzic
8b01cd70ce
commit
bd0812f0d7
|
@ -160,9 +160,6 @@ constructor(
|
|||
|
||||
combine(serviceRepository.connectionState, radioConfigState) { connState, configState ->
|
||||
_radioConfigState.update { it.copy(connected = connState == ConnectionState.CONNECTED) }
|
||||
if (connState == ConnectionState.DISCONNECTED && configState.responseState.isWaiting()) {
|
||||
sendError(R.string.disconnected)
|
||||
}
|
||||
}
|
||||
.launchIn(viewModelScope)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue