Преглед изворни кода

Doesn't matter, but just in case, the placeholder text is now changed to reflect the real defaults.

Jon Mårtensson пре 3 година
родитељ
комит
7fe7f5279f
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      FreeAPS/Sources/Modules/FPUConfig/View/FPUConfigRootView.swift

+ 3 - 3
FreeAPS/Sources/Modules/FPUConfig/View/FPUConfigRootView.swift

@@ -30,7 +30,7 @@ extension FPUConfig {
                     HStack {
                         Text("Delay In Minutes")
                         Spacer()
-                        DecimalTextField("8", value: $state.delay, formatter: intFormater)
+                        DecimalTextField("60", value: $state.delay, formatter: intFormater)
                     }
                     HStack {
                         Text("Maximum Duration In Hours")
@@ -40,12 +40,12 @@ extension FPUConfig {
                     HStack {
                         Text("Interval In Minutes")
                         Spacer()
-                        DecimalTextField("60", value: $state.minuteInterval, formatter: intFormater)
+                        DecimalTextField("30", value: $state.minuteInterval, formatter: intFormater)
                     }
                     HStack {
                         Text("Override With A Factor Of ")
                         Spacer()
-                        DecimalTextField("0.8", value: $state.individualAdjustmentFactor, formatter: conversionFormatter)
+                        DecimalTextField("0.5", value: $state.individualAdjustmentFactor, formatter: conversionFormatter)
                     }
                 }