Explorar el Código

Fix bolus input (-) button disabled (thx @avouspierre)

Deniz Cengiz hace 1 año
padre
commit
acf5437c57
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Trio Watch App Extension/Views/BolusInputView.swift

+ 1 - 1
Trio Watch App Extension/Views/BolusInputView.swift

@@ -65,7 +65,7 @@ struct BolusInputView: View {
                                 .foregroundColor(Color.insulin)
                         }
                         .buttonStyle(.borderless)
-                        .disabled(bolusAmount < 1)
+                        .disabled(bolusAmount == 0)
 
                         Spacer()