keep it simple

This commit is contained in:
Andrei Vereha 2021-09-21 22:20:33 +02:00
parent a8e3934b7a
commit 32aa3e3579

View file

@ -244,9 +244,6 @@ class OmnipodDashOverviewFragment : DaggerFragment() {
private fun updateBluetoothConnectionStatus(event: EventPumpStatusChanged) { private fun updateBluetoothConnectionStatus(event: EventPumpStatusChanged) {
var status = event.getStatus(resourceHelper) var status = event.getStatus(resourceHelper)
if (status.isEmpty()) {
status = resourceHelper.gs(R.string.disconnected)
}
bluetoothStatusBinding.omnipodDashBluetoothStatus.text = status bluetoothStatusBinding.omnipodDashBluetoothStatus.text = status
} }