Просмотр исходного кода

Removed min value for carbs cap until actual guardrails are decided later

Jeremy 2 лет назад
Родитель
Сommit
bb6606343f

+ 1 - 1
FreeAPS/Sources/Modules/PreferencesEditor/PreferencesEditorStateModel.swift

@@ -443,7 +443,7 @@ extension PreferencesEditor {
                 ),
                 Field(
                     displayName: NSLocalizedString("Remaining Carbs Cap", comment: "Remaining Carbs Cap"),
-                    type: .decimal(keypath: \.remainingCarbsCap, minVal: 90),
+                    type: .decimal(keypath: \.remainingCarbsCap),
                     infoText: NSLocalizedString(
                         "This is the amount of the maximum number of carbs we’ll assume will absorb over 4h if we don’t yet see carb absorption.",
                         comment: "Remaining Carbs Cap"