fix race
This commit is contained in:
parent
b2f1684aaf
commit
00b19abb39
|
@ -668,11 +668,9 @@ class OmnipodDashManagerImpl @Inject constructor(
|
|||
|
||||
when (event) {
|
||||
is PodEvent.AlreadyConnected -> {
|
||||
podStateManager.bluetoothAddress = event.bluetoothAddress
|
||||
}
|
||||
|
||||
is PodEvent.BluetoothConnected -> {
|
||||
podStateManager.bluetoothAddress = event.bluetoothAddress
|
||||
}
|
||||
|
||||
is PodEvent.Connected -> {
|
||||
|
|
Loading…
Reference in a new issue