فهرست منبع

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

Deniz Cengiz 1 سال پیش
والد
کامیت
acf5437c57
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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()