Loop Dialog, hide loop buttons if pump disconnected or loop suspended
This commit is contained in:
parent
145ec376de
commit
e7578b4c8f
|
@ -195,6 +195,7 @@ class LoopDialog : DaggerDialogFragment() {
|
|||
binding.overviewDisconnectButtons.visibility = View.GONE
|
||||
binding.overviewReconnect.visibility = View.VISIBLE
|
||||
}
|
||||
binding.overviewLoop.visibility = (!loopPlugin.isSuspended && !loopPlugin.isDisconnected).toVisibility()
|
||||
}
|
||||
val profile = profileFunction.getProfile()
|
||||
val profileStore = activePlugin.activeProfileInterface.profile
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/overview_loop"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
|
Loading…
Reference in a new issue