Bläddra i källkod

feedback from Marion

change min5mCarbimpact min to 1,
typos,
correct hints for defaults to match code
Mike Plante 1 år sedan
förälder
incheckning
ce6ade00c6

+ 1 - 1
FreeAPS/Sources/Models/DecimalPickerSettings.swift

@@ -77,7 +77,7 @@ struct DecimalPickerSettings {
         type: PickerSetting.PickerSettingType.glucose
         type: PickerSetting.PickerSettingType.glucose
     )
     )
     var maxCOB = PickerSetting(value: 120, step: 5, min: 0, max: 300, type: PickerSetting.PickerSettingType.gram)
     var maxCOB = PickerSetting(value: 120, step: 5, min: 0, max: 300, type: PickerSetting.PickerSettingType.gram)
-    var min5mCarbimpact = PickerSetting(value: 8, step: 1, min: 0, max: 20, type: PickerSetting.PickerSettingType.glucose)
+    var min5mCarbimpact = PickerSetting(value: 8, step: 1, min: 1, max: 20, type: PickerSetting.PickerSettingType.glucose)
     var autotuneISFAdjustmentFraction = PickerSetting(
     var autotuneISFAdjustmentFraction = PickerSetting(
         value: 1.0,
         value: 1.0,
         step: 0.05,
         step: 0.05,

+ 2 - 2
FreeAPS/Sources/Modules/AlgorithmAdvancedSettings/View/AlgorithmAdvancedSettingsRootView.swift

@@ -239,7 +239,7 @@ extension AlgorithmAdvancedSettings {
                         Text(
                         Text(
                             "This prevents lingering insulin effects when your pump is suspended, ensuring safer management of insulin on board."
                             "This prevents lingering insulin effects when your pump is suspended, ensuring safer management of insulin on board."
                         )
                         )
-                        Text("Note: Applies to only to pumps with on-pump suspend options")
+                        Text("Note: Applies to only to pumps with on-pump suspend options.")
                     }
                     }
                 )
                 )
 
 
@@ -370,7 +370,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     units: state.units,
                     type: .decimal("noisyCGMTargetMultiplier"),
                     type: .decimal("noisyCGMTargetMultiplier"),
                     label: NSLocalizedString("Noisy CGM Target Increase", comment: "Noisy CGM Target Increase"),
                     label: NSLocalizedString("Noisy CGM Target Increase", comment: "Noisy CGM Target Increase"),
-                    miniHint: "Increase glucose target when noisy CGM data detected%",
+                    miniHint: "Increase glucose target when noisy CGM data is detected",
                     verboseHint:
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 130%").bold()
                         Text("Default: 130%").bold()

+ 1 - 1
FreeAPS/Sources/Modules/AutosensSettings/View/AutosensSettingsRootView.swift

@@ -53,7 +53,7 @@ extension AutosensSettings {
                     VStack(alignment: .leading, spacing: 10) {
                     VStack(alignment: .leading, spacing: 10) {
                         Text("Default: 120%").bold()
                         Text("Default: 120%").bold()
                         Text(
                         Text(
-                            "Autosens Max sets the maximum Autosens Ratio used by Autosens, Dynamic ISF, or Sigmoid Formula"
+                            "Autosens Max sets the maximum Autosens Ratio used by Autosens, Dynamic ISF, or Sigmoid Formula."
                         )
                         )
                         Text(
                         Text(
                             "The Autosens Ratio is used to calculate the amount of adjustment needed to basal rates, ISF, and CR."
                             "The Autosens Ratio is used to calculate the amount of adjustment needed to basal rates, ISF, and CR."

+ 2 - 2
FreeAPS/Sources/Modules/BolusCalculatorConfig/View/BolusCalculatorConfigRootView.swift

@@ -64,7 +64,7 @@ extension BolusCalculatorConfig {
                     label: "Display Meal Presets",
                     label: "Display Meal Presets",
                     miniHint: "Allows you to create and save preset meals",
                     miniHint: "Allows you to create and save preset meals",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
-                        Text("Default: OFF").bold()
+                        Text("Default: ON").bold()
                         Text("Enabling this feature allows you to create and save preset meals.")
                         Text("Enabling this feature allows you to create and save preset meals.")
                     }
                     }
                 )
                 )
@@ -86,7 +86,7 @@ extension BolusCalculatorConfig {
                     miniHint: "Percent of bolus used in bolus calculator",
                     miniHint: "Percent of bolus used in bolus calculator",
                     verboseHint:
                     verboseHint:
                     VStack(alignment: .leading, spacing: 10) {
                     VStack(alignment: .leading, spacing: 10) {
-                        Text("Default: 70%").bold()
+                        Text("Default: 80%").bold()
                         Text(
                         Text(
                             "Recommended Bolus Percentage is a safety feature built into Trio. Trio first calculates an insulin required value, which is the full dosage. That dosage is then multiplied by your Recommended Bolus Percentage to display your suggested insulin dose in the bolus calculator."
                             "Recommended Bolus Percentage is a safety feature built into Trio. Trio first calculates an insulin required value, which is the full dosage. That dosage is then multiplied by your Recommended Bolus Percentage to display your suggested insulin dose in the bolus calculator."
                         )
                         )

+ 1 - 2
FreeAPS/Sources/Modules/SMBSettings/View/SMBSettingsRootView.swift

@@ -300,7 +300,7 @@ extension SMBSettings {
                         }
                         }
                         VStack(alignment: .leading, spacing: 10) {
                         VStack(alignment: .leading, spacing: 10) {
                             Text(
                             Text(
-                                "TThis is a limit on the size of a single UAM SMB. One UAM SMB can only be as large as this many minutes of your current profile basal rate."
+                                "This is a limit on the size of a single UAM SMB. One UAM SMB can only be as large as this many minutes of your current profile basal rate."
                             )
                             )
                             Text(
                             Text(
                                 "To calculate the maximum UAM SMB allowed based on this setting, use the following formula"
                                 "To calculate the maximum UAM SMB allowed based on this setting, use the following formula"
@@ -395,7 +395,6 @@ extension SMBSettings {
                         Text(
                         Text(
                             "This is the minimum number of minutes since the last SMB or manual bolus before Trio will permit an automated SMB."
                             "This is the minimum number of minutes since the last SMB or manual bolus before Trio will permit an automated SMB."
                         )
                         )
-                        Text("Note: For Omnipod Dash, minimum value is 3 min. For Omnipod Eros, minimum value is 5 min.")
                     }
                     }
                 )
                 )
             }
             }