Browse Source

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

Jeremy 2 years ago
parent
commit
bb6606343f

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

@@ -443,7 +443,7 @@ extension PreferencesEditor {
                 ),
                 ),
                 Field(
                 Field(
                     displayName: NSLocalizedString("Remaining Carbs Cap", comment: "Remaining Carbs Cap"),
                     displayName: NSLocalizedString("Remaining Carbs Cap", comment: "Remaining Carbs Cap"),
-                    type: .decimal(keypath: \.remainingCarbsCap, minVal: 90),
+                    type: .decimal(keypath: \.remainingCarbsCap),
                     infoText: NSLocalizedString(
                     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.",
                         "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"
                         comment: "Remaining Carbs Cap"