Procházet zdrojové kódy

color treatment button gray once pressed

Mike Plante před 1 rokem
rodič
revize
9cac66a9ea

+ 1 - 0
FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

@@ -392,6 +392,7 @@ extension Bolus {
             .disabled(disableTaskButton)
             .disabled(disableTaskButton)
             .listRowBackground(
             .listRowBackground(
                 limitExceeded ? Color(.systemRed) :
                 limitExceeded ? Color(.systemRed) :
+                    disableTaskButton ? Color(.systemGray) :
                     Color(.systemBlue)
                     Color(.systemBlue)
             )
             )
             .shadow(radius: 3)
             .shadow(radius: 3)