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

Update DynamicSettingsRootView.swift

Removes duplicitous information about New Basal Profile to reduce potential user confusion. Corrects formatting error.
tmhastings 1 год назад
Родитель
Сommit
38a98b2fc5
1 измененных файлов с 2 добавлено и 4 удалено
  1. 2 4
      FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift

+ 2 - 4
FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift

@@ -253,15 +253,13 @@ extension DynamicSettings {
                         type: .boolean,
                         type: .boolean,
                         label: "Adjust Basal",
                         label: "Adjust Basal",
                         miniHint: "Use Dynamic Ratio to adjust basal rates.",
                         miniHint: "Use Dynamic Ratio to adjust basal rates.",
-                        verboseHint: VStack(spacing: 10) {
+                        verboseHint: VStack(alignment: .leading, spacing: 10) {
                             Text("Default: OFF").bold()
                             Text("Default: OFF").bold()
                             Text(
                             Text(
                                 "Turn this setting on to give basal adjustments more agility. Keep this setting off if your basal needs are not highly variable."
                                 "Turn this setting on to give basal adjustments more agility. Keep this setting off if your basal needs are not highly variable."
                             )
                             )
-                            Text("Normally, a new basal rate is set by autosens:")
-                            Text("New Basal Profile =\n(Current Basal Profile) x (Autosens Ratio)")
                             Text(
                             Text(
-                                "Adjust Basal replaces the standard Autosens Ratio calculation with its own Autosens Ratio calculated as such:"
+                                "Enabling Adjust Basal replaces the standard Autosens Ratio calculation with its own Autosens Ratio calculated as such:"
                             )
                             )
                             Text("Autosens Ratio =\n(Weighted Average of TDD) ÷ (10-day Average of TDD)")
                             Text("Autosens Ratio =\n(Weighted Average of TDD) ÷ (10-day Average of TDD)")
                             Text("New Basal Profile =\n(Current Basal Profile) × (Autosens Ratio)")
                             Text("New Basal Profile =\n(Current Basal Profile) × (Autosens Ratio)")