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

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

Jeremy 2 лет назад
Родитель
Сommit
bb6606343f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      FreeAPS/Sources/Modules/PreferencesEditor/PreferencesEditorStateModel.swift

+ 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"