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

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

Jon Mårtensson 3 лет назад
Родитель
Сommit
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)
                     }
                 }