Explorar el Código

😵

(cherry picked from commit 91d4fc79e70985e608287493b28336b97b44a49d)
Jon Mårtensson hace 2 años
padre
commit
7aeade48d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      FreeAPS/Sources/Modules/Bolus/View/BolusRootView.swift

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

@@ -72,7 +72,7 @@ extension Bolus {
                                 autofocus: true,
                                 cleanInput: true
                             )
-                            Text("U").foregroundColor(.secondary)
+                            Text(!(state.amount > state.maxBolus) ? "U" : "😵").foregroundColor(.secondary)
                         }
                     }
                     header: { Text("Bolus") }