Procházet zdrojové kódy

Merge pull request #116 from MikePlante1/treatment-button

Color treatment button gray once pressed
polscm32 před 1 rokem
rodič
revize
2f38ead7c8

+ 1 - 0
FreeAPS/Sources/Modules/Treatments/View/TreatmentsRootView.swift

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