commit
d516cfefed
|
@ -124,9 +124,7 @@ class DashPodManagementActivity : NoSplashAppCompatActivity() {
|
|||
binding.buttonDiscardPod.visibility = discardButtonEnabled.toVisibility()
|
||||
|
||||
binding.buttonActivatePod.isEnabled = podStateManager.activationProgress.isBefore(ActivationProgress.COMPLETED)
|
||||
binding.buttonDeactivatePod.isEnabled =
|
||||
podStateManager.ltk != null ||
|
||||
podStateManager.podStatus == PodStatus.ALARM
|
||||
binding.buttonDeactivatePod.isEnabled = podStateManager.bluetoothAddress != null
|
||||
|
||||
if (podStateManager.activationProgress.isAtLeast(ActivationProgress.PHASE_1_COMPLETED)) {
|
||||
if (commandQueue.isCustomCommandInQueue(CommandPlayTestBeep::class.java)) {
|
||||
|
|
|
@ -244,9 +244,6 @@ class OmnipodDashOverviewFragment : DaggerFragment() {
|
|||
|
||||
private fun updateBluetoothConnectionStatus(event: EventPumpStatusChanged) {
|
||||
var status = event.getStatus(resourceHelper)
|
||||
if (status.isEmpty()) {
|
||||
status = resourceHelper.gs(R.string.disconnected)
|
||||
}
|
||||
bluetoothStatusBinding.omnipodDashBluetoothStatus.text = status
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue