fix binding

This commit is contained in:
Milos Kozak 2021-11-15 18:26:28 +01:00
parent c0e27a9e81
commit b785f9215d

View file

@ -197,7 +197,7 @@ class DanaFragment : DaggerFragment() {
@Synchronized
fun updateGUI() {
if (_binding == null) return
binding.btconnection.text = pumpStatusIcon
binding.btConnection.text = pumpStatusIcon
binding.pumpStatus.text = pumpStatus
binding.pumpStatusLayout.visibility = (pumpStatus != "").toVisibility()
binding.queue.text = commandQueue.spannedStatus()