Explorar o código

Allow for sub 3g/U carb ratios in Onboarding Wizard (extends #455)

Deniz Cengiz hai 1 ano
pai
achega
6df72dbde3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Trio/Sources/Modules/Onboarding/OnboardingStateModel.swift

+ 1 - 1
Trio/Sources/Modules/Onboarding/OnboardingStateModel.swift

@@ -44,7 +44,7 @@ extension Onboarding {
 
         // MARK: - Carb Ratio
 
-        let carbRatioPickerSetting = PickerSetting(value: 3, step: 0.1, min: 3, max: 50, type: .gram)
+        let carbRatioPickerSetting = PickerSetting(value: 10, step: 0.1, min: 1, max: 50, type: .gram)
         var carbRatioItems: [CarbRatioEditor.Item] = []
         var initialCarbRatioItems: [CarbRatioEditor.Item] = []
         var carbRatioTimeValues: [TimeInterval] { sharedTimeValues }