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

Remove Default Settings from miniHints

tmhastings 1 год назад
Родитель
Сommit
2800855617
19 измененных файлов с 107 добавлено и 107 удалено
  1. 38 38
      FreeAPS/Sources/Modules/AlgorithmAdvancedSettings/View/AlgorithmAdvancedSettingsRootView.swift
  2. 3 3
      FreeAPS/Sources/Modules/AutosensSettings/View/AutosensSettingsRootView.swift
  3. 2 2
      FreeAPS/Sources/Modules/AutotuneConfig/View/AutotuneConfigRootView.swift
  4. 4 4
      FreeAPS/Sources/Modules/BolusCalculatorConfig/View/BolusCalculatorConfigRootView.swift
  5. 3 3
      FreeAPS/Sources/Modules/CGM/View/CGMRootView.swift
  6. 3 3
      FreeAPS/Sources/Modules/CalendarEventSettings/View/CalendarEventSettingsRootView.swift
  7. 14 14
      FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift
  8. 4 4
      FreeAPS/Sources/Modules/GeneralSettings/View/UnitsLimitsSettingsRootView.swift
  9. 4 4
      FreeAPS/Sources/Modules/GlucoseNotificationSettings/View/GlucoseNotificationSettingsRootView.swift
  10. 1 1
      FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift
  11. 2 2
      FreeAPS/Sources/Modules/LiveActivitySettings/View/LiveActivitySettingsRootView.swift
  12. 5 5
      FreeAPS/Sources/Modules/MealSettings/View/MealSettingsRootView.swift
  13. 2 2
      FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutFetchView.swift
  14. 2 2
      FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutUploadView.swift
  15. 1 1
      FreeAPS/Sources/Modules/NightscoutConfig/View/ProfileImport/ReviewInsulinActionView.swift
  16. 12 12
      FreeAPS/Sources/Modules/SMBSettings/View/SMBSettingsRootView.swift
  17. 1 1
      FreeAPS/Sources/Modules/ShortcutsConfig/View/ShortcutsConfigView.swift
  18. 5 5
      FreeAPS/Sources/Modules/TargetBehavoir/View/TargetBehavoirRootView.swift
  19. 1 1
      FreeAPS/Sources/Modules/UserInterfaceSettings/View/UserInterfaceSettingsRootView.swift

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

@@ -60,7 +60,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("maxDailySafetyMultiplier"),
                     label: NSLocalizedString("Max Daily Safety Multiplier", comment: "Max Daily Safety Multiplier"),
-                    miniHint: "Limits temp basals to this % of your largest basal rate \nDefault:300%",
+                    miniHint: "Limits temp basals to this % of your largest basal rate",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 300%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -90,7 +90,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("currentBasalSafetyMultiplier"),
                     label: NSLocalizedString("Current Basal Safety Multiplier", comment: "Current Basal Safety Multiplier"),
-                    miniHint: "Limits temp basals to this % of the current basal rate \nDefault: 400%",
+                    miniHint: "Limits temp basals to this % of the current basal rate",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 400%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -119,7 +119,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("dia"),
                     label: "Duration of Insulin Action",
-                    miniHint: "Number of hours insulin is active in your body \nDefault: 6 hours",
+                    miniHint: "Number of hours insulin is active in your body",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 6 hours").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -152,7 +152,7 @@ extension AlgorithmAdvancedSettings {
                     type: .conditionalDecimal("insulinPeakTime"),
                     label: NSLocalizedString("Use Custom Peak Time", comment: "Use Custom Peak Time"),
                     conditionalLabel: NSLocalizedString("Insulin Peak Time", comment: "Insulin Peak Time"),
-                    miniHint: "Sets time of insulin’s peak effect \nDefault: (Set by Insulin Type)",
+                    miniHint: "Sets time of insulin's peak effect",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: Set by Insulin Type").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -183,7 +183,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Skip Neutral Temps", comment: "Skip Neutral Temps"),
-                    miniHint: "Skip neutral temp basals to reduce pump alerts \nDefault: OFF",
+                    miniHint: "Skip neutral temp basals to reduce pump alerts",
                     verboseHint: VStack {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -209,7 +209,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Unsuspend If No Temp", comment: "Unsuspend If No Temp"),
-                    miniHint: "Automatically resumes pump after suspension \nDefault: OFF",
+                    miniHint: "Automatically resumes pump after suspension",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -235,7 +235,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Suspend Zeros IOB", comment: "Suspend Zeros IOB"),
-                    miniHint: "Clears temp basals and resets IOB when suspended \nDefault: OFF",
+                    miniHint: "Clears temp basals and resets IOB when suspended",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -250,31 +250,31 @@ extension AlgorithmAdvancedSettings {
                     }
                 )
 
-                SettingInputSection(
-                    decimalValue: $state.autotuneISFAdjustmentFraction,
-                    booleanValue: $booleanPlaceholder,
-                    shouldDisplayHint: $shouldDisplayHint,
-                    selectedVerboseHint: Binding(
-                        get: { selectedVerboseHint },
-                        set: {
-                            selectedVerboseHint = $0.map { AnyView($0) }
-                            hintLabel = NSLocalizedString(
-                                "Autotune ISF Adjustment Percent",
-                                comment: "Autotune ISF Adjustment Percent"
-                            )
-                        }
-                    ),
-                    units: state.units,
-                    type: .decimal("autotuneISFAdjustmentFraction"),
-                    label: NSLocalizedString("Autotune ISF Adjustment Percent", comment: "Autotune ISF Adjustment Percent"),
-                    miniHint: "Using Autotune is not advised \nDefault: 50%",
-                    verboseHint: Text(
-                        NSLocalizedString(
-                            "The default of 50% for this value keeps autotune ISF closer to pump ISF via a weighted average of fullNewISF and pumpISF. 100% allows full adjustment, 0% is no adjustment from pump ISF.",
-                            comment: "Autotune ISF Adjustment Percent"
-                        )
-                    )
-                )
+                //SettingInputSection(
+                    //decimalValue: $state.autotuneISFAdjustmentFraction,
+                    //booleanValue: $booleanPlaceholder,
+                    //shouldDisplayHint: $shouldDisplayHint,
+                    //selectedVerboseHint: Binding(
+                        //get: { selectedVerboseHint },
+                        //set: {
+                            //selectedVerboseHint = $0.map { AnyView($0) }
+                            //hintLabel = NSLocalizedString(
+                                //"Autotune ISF Adjustment Percent",
+                                //comment: "Autotune ISF Adjustment Percent"
+                            //)
+                        //}
+                    //),
+                    //units: state.units,
+                    //type: .decimal("autotuneISFAdjustmentFraction"),
+                    //label: NSLocalizedString("Autotune ISF Adjustment Percent", comment: "Autotune ISF Adjustment Percent"),
+                    //miniHint: "Using Autotune is not advised",
+                    //verboseHint: Text(
+                        //NSLocalizedString(
+                            //"The default of 50% for this value keeps autotune ISF closer to pump ISF via a weighted average of fullNewISF and pumpISF. 100% allows full adjustment, 0% is no adjustment from pump ISF.",
+                            //comment: "Autotune ISF Adjustment Percent"
+                        //)
+                    //)
+                //)
 
                 SettingInputSection(
                     decimalValue: $state.min5mCarbimpact,
@@ -287,13 +287,13 @@ extension AlgorithmAdvancedSettings {
                             hintLabel = NSLocalizedString("Min 5m Carb Impact", comment: "Min 5m Carb Impact")
                         }
                     ),
+                    let myText = (state.units == .mg/dL ? 8 : 8.formmatedAsMmolL) + "Default:" + state.units.rawValue)
                     units: state.units,
                     type: .decimal("min5mCarbimpact"),
                     label: NSLocalizedString("Min 5m Carb Impact", comment: "Min 5m Carb Impact"),
-                    miniHint: "Estimates carb absorption rate per 5 minutes \nDefault: 8 mg/dL/5min",
+                    miniHint: "Estimates the impact of carb absorbtion after 5 minutes",
                     verboseHint: VStack(spacing: 10) {
-                        Text("mg/dL Default: 8 mg/dL/5min").bold()
-                        Text("mmol/L Default: 0.4 mmol/L/5min").bold()
+                        Text(myText).bold
                         VStack(alignment: .leading, spacing: 10) {
                             Text(
                                 "Min 5m Carb Impact sets the expected glucose rise from carbs over 5 minutes when absorption isn't obvious from glucose data."
@@ -322,7 +322,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("remainingCarbsFraction"),
                     label: NSLocalizedString("Remaining Carbs Percentage", comment: "Remaining Carbs Percentage"),
-                    miniHint: "% of carbs still available if no absorption is detected \nDefault: 100%",
+                    miniHint: "% of carbs still available if no absorption is detected",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 100%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -350,7 +350,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("remainingCarbsCap"),
                     label: NSLocalizedString("Remaining Carbs Cap", comment: "Remaining Carbs Cap"),
-                    miniHint: "Maximum Carbs(g) still available if no absorption is detected \nDefault:  90g",
+                    miniHint: "Maximum amount of carbs still available if no absorption is detected",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 90g").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -378,7 +378,7 @@ extension AlgorithmAdvancedSettings {
                     units: state.units,
                     type: .decimal("noisyCGMTargetMultiplier"),
                     label: NSLocalizedString("Noisy CGM Target Increase", comment: "Noisy CGM Target Increase"),
-                    miniHint: "Increase glucose target when noisy CGM data detected \nDefault: 130%",
+                    miniHint: "Increase glucose target when noisy CGM data detected%",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 130%").bold()
                         VStack(alignment: .leading, spacing: 10) {

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

@@ -48,7 +48,7 @@ extension AutosensSettings {
                     units: state.units,
                     type: .decimal("autosensMax"),
                     label: NSLocalizedString("Autosens Max", comment: "Autosens Max"),
-                    miniHint: "The higher limit of the Autosens Ratio \nDefault: 120%",
+                    miniHint: "The higher limit of the Autosens Ratio",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 120%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -80,7 +80,7 @@ extension AutosensSettings {
                     units: state.units,
                     type: .decimal("autosensMin"),
                     label: NSLocalizedString("Autosens Min", comment: "Autosens Min"),
-                    miniHint: "The lower limit of the Autosens Ratio \nDefault: 80%",
+                    miniHint: "The lower limit of the Autosens Ratio",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 80%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -111,7 +111,7 @@ extension AutosensSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Rewind Resets Autosens", comment: "Rewind Resets Autosens"),
-                    miniHint: "Pump rewind initiates a reset in Autosens Ratio \nDefault: ON",
+                    miniHint: "Pump rewind initiates a reset in Autosens Ratio",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: ON").bold()
                         Text("Medtronic Users Only").bold()

+ 2 - 2
FreeAPS/Sources/Modules/AutotuneConfig/View/AutotuneConfigRootView.swift

@@ -70,7 +70,7 @@ extension AutotuneConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Use Autotune",
-                    miniHint: "It is not advised to use Autotune with Trio \nDefault: OFF",
+                    miniHint: "It is not advised to use Autotune with Trio",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -96,7 +96,7 @@ extension AutotuneConfig {
                         units: state.units,
                         type: .boolean,
                         label: "Only Autotune Basal Insulin",
-                        miniHint: "Restricts Autotune adjustments to only basal settings \nDefault: OFF",
+                        miniHint: "Restricts Autotune adjustments to only basal settings",
                         verboseHint: Text("Restricts Autotune adjustments to only basal settings.")
                     )
                 }

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

@@ -62,7 +62,7 @@ extension BolusCalculatorConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Display Meal Presets",
-                    miniHint: "Allows you to create and save preset meals \nDefault: OFF",
+                    miniHint: "Allows you to create and save preset meals",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Enabling this feature allows you to create and save preset meals.")
@@ -83,7 +83,7 @@ extension BolusCalculatorConfig {
                     units: state.units,
                     type: .decimal("overrideFactor"),
                     label: "Recommended Bolus Percentage",
-                    miniHint: "Percent of bolus used in bolus calculator \nDefault: 70%",
+                    miniHint: "Percent of bolus used in bolus calculator",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 70%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -116,7 +116,7 @@ extension BolusCalculatorConfig {
                     type: .conditionalDecimal("fattyMealFactor"),
                     label: "Enable Fatty Meal Option",
                     conditionalLabel: "Fatty Meal Bolus Percentage",
-                    miniHint: "\"Fatty Meal\" option appears in the bolus calculator \nDefault: OFF\nDefault Percent: 70%",
+                    miniHint: "\"Fatty Meal\" option appears in the bolus calculator",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Default Percent: 70%").bold()
@@ -150,7 +150,7 @@ extension BolusCalculatorConfig {
                     type: .conditionalDecimal("sweetMealFactor"),
                     label: "Enable Super Bolus Option",
                     conditionalLabel: "Super Bolus Percentage",
-                    miniHint: "\"Super Bolus\" option appears in the bolus calculator \nDefault: OFF\nDefault Percent: 200%",
+                    miniHint: "\"Super Bolus\" option appears in the bolus calculator",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Default Percent: 200%").bold()

+ 3 - 3
FreeAPS/Sources/Modules/CGM/View/CGMRootView.swift

@@ -215,15 +215,15 @@ extension CGM {
                         units: state.units,
                         type: .boolean,
                         label: "Smooth Glucose Value",
-                        miniHint: "Smooth CGM readings \nDefault: OFF",
+                        miniHint: "Smooth CGM readings using Savitzky-Golay filtering",
                         verboseHint: VStack {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
                                 Text(
-                                    "This filter looks at small groups of nearby readings and fits them to a simple mathematical curve. This process doesnt change the overall pattern of your glucose data but helps smooth out the \"noise\" or irregular fluctuations that could lead to false highs or lows."
+                                    "This filter looks at small groups of nearby readings and fits them to a simple mathematical curve. This process doesn't change the overall pattern of your glucose data but helps smooth out the \"noise\" or irregular fluctuations that could lead to false highs or lows."
                                 )
                                 Text(
-                                    "Because your glucose readings are taken at regular intervals, the filter can use a set of pre-calculated \"weights\" to adjust each group of readings, making the calculations fast and efficient. Its designed to keep the important trends in your data while minimizing those small, misleading variations, giving you and Trio a clearer sense of where your blood sugar is really headed."
+                                    "Because your glucose readings are taken at regular intervals, the filter can use a set of pre-calculated \"weights\" to adjust each group of readings, making the calculations fast and efficient. It's designed to keep the important trends in your data while minimizing those small, misleading variations, giving you and Trio a clearer sense of where your blood sugar is really headed."
                                 )
                                 Text(
                                     "This type of filtering is useful in Trio, as it can help prevent over-corrections based on inaccurate glucose readings. This can help reduce the impact of sudden spikes or dips that might not reflect your true blood glucose levels."

+ 3 - 3
FreeAPS/Sources/Modules/CalendarEventSettings/View/CalendarEventSettingsRootView.swift

@@ -48,7 +48,7 @@ extension CalendarEventSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Create Events in Calendar",
-                    miniHint: "Uses calendar events to display current data \nDefault: OFF",
+                    miniHint: "Uses calendar events to display current data",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -92,7 +92,7 @@ extension CalendarEventSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Display Emojis as Labels",
-                        miniHint: "Emojis used instead of text for data labels \nDefault: OFF",
+                        miniHint: "Emojis used instead of text for data labels",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 5) {
@@ -127,7 +127,7 @@ extension CalendarEventSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Display IOB and COB",
-                        miniHint: "Include IOB & COB in the calendar event data \nDefault: OFF",
+                        miniHint: "Include IOB & COB in the calendar event data",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             Text(

+ 14 - 14
FreeAPS/Sources/Modules/DynamicSettings/View/DynamicSettingsRootView.swift

@@ -64,13 +64,13 @@ extension DynamicSettings {
                         get: { selectedVerboseHint },
                         set: {
                             selectedVerboseHint = $0.map { AnyView($0) }
-                            hintLabel = "Activate Dynamic Sensitivity (ISF)"
+                            hintLabel = "Activate Dynamic Sensitivity (Dynamic ISF)"
                         }
                     ),
                     units: state.units,
                     type: .boolean,
                     label: "Activate Dynamic ISF",
-                    miniHint: "Adjusts ISF dynamically based on recent BG and insulin \nDefault: OFF",
+                    miniHint: "Adjusts ISF dynamically based on recent BG and insulin",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -105,21 +105,21 @@ extension DynamicSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Activate Dynamic CR (Carb Ratio)",
-                        miniHint: "Dynamically adjusts carb ratio (CR)\nDefault: OFF",
+                        miniHint: "Dynamically adjusts your Carb Ratio (CR)",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
                                 Text(
-                                    "Dynamic CR adjusts your carb ratio based on your Dynamic Ratio, adapting automatically to changes in insulin sensitivity."
+                                    "Dynamic CR adjusts your carb ratio based on your Dynamic Autosens Ratio, adapting automatically to changes in insulin sensitivity."
                                 )
                                 Text(
-                                    "When Dynamic Ratio increases, indicating you need more insulin, the carb ratio is adjusted to make your insulin dosing more effective."
+                                    "When Dynamic Autosens Ratio increases, indicating you need more insulin, the carb ratio is adjusted to make your insulin dosing more effective."
                                 )
                                 Text(
-                                    "When Dynamic Ratio decreases, indicating you need less insulin, the carb ratio is scaled back to avoid over-delivery."
+                                    "When Dynamic Autosens Ratio decreases, indicating you need less insulin, the carb ratio is scaled back to avoid over-delivery."
                                 )
                                 Text(
-                                    "Note: Its recommended not to use this feature with a high Insulin Fraction (>2), as it can cause insulin dosing to become too aggressive."
+                                    "Note: It's recommended not to use this feature with a high Insulin Fraction (>2), as it can cause insulin dosing to become too aggressive."
                                 )
                             }
                         }
@@ -139,12 +139,12 @@ extension DynamicSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Use Sigmoid Formula",
-                        miniHint: "Adjusts ISF using a sigmoid-shaped curve \nDefault: OFF",
+                        miniHint: "Adjusts ISF using a sigmoid-shaped curve",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
                                 Text(
-                                    "Turning on the Sigmoid Formula setting alters how your Dynamic Ratio, and thus your New ISF and New Carb Ratio, are calculated using a sigmoid curve rather than the default logarithmic function. The curve's steepness is influenced by the Adjustment Factor (AF), while the Autosens Min/Max settings determine the limits of the ratio adjustment, which can also influence the steepness of the sigmoid curve."
+                                    "Turning on the Sigmoid Formula setting alters how your Dynamic Autosens Ratio, and thus your New ISF and New Carb Ratio, are calculated using a sigmoid curve rather than the default logarithmic function. The curve's steepness is influenced by the Adjustment Factor (AF), while the Autosens Min/Max settings determine the limits of the ratio adjustment, which can also influence the steepness of the sigmoid curve."
                                 )
                                 Text(
                                     "When using the Sigmoid Formula, TDD has a much lower impact on the dynamic adjustments to sensitivity."
@@ -173,7 +173,7 @@ extension DynamicSettings {
                             units: state.units,
                             type: .decimal("adjustmentFactor"),
                             label: "Adjustment Factor (AF)",
-                            miniHint: "Influences the rate of dynamic sensitivity adjustments \nDefault: 80%",
+                            miniHint: "Influences the rate of Dynamic ISF (Sensitivity) adjustments",
                             verboseHint: VStack(spacing: 10) {
                                 Text("Default: 80%").bold()
                                 VStack(alignment: .leading, spacing: 10) {
@@ -205,7 +205,7 @@ extension DynamicSettings {
                             units: state.units,
                             type: .decimal("adjustmentFactorSigmoid"),
                             label: "Sigmoid Adjustment Factor",
-                            miniHint: "Influences the rate of dynamic sensitivity adjustments for Sigmoid \nDefault: 50%",
+                            miniHint: "Influences the rate of dynamic sensitivity adjustments for Sigmoid",
                             verboseHint: VStack(spacing: 10) {
                                 Text("Default: 50%").bold()
                                 VStack(alignment: .leading, spacing: 10) {
@@ -240,7 +240,7 @@ extension DynamicSettings {
                         units: state.units,
                         type: .decimal("weightPercentage"),
                         label: "Weighted Average of TDD",
-                        miniHint: "Weight of 24-hr TDD against 10-day TDD \nDefault: 65%",
+                        miniHint: "Weight of 24-hr TDD against 10-day TDD",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: 65%").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -270,7 +270,7 @@ extension DynamicSettings {
                         units: state.units,
                         type: .boolean,
                         label: "Adjust Basal",
-                        miniHint: "Use Dynamic Ratio to adjust basal rates \nDefault: OFF",
+                        miniHint: "Use Dynamic Ratio to adjust basal rates",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             Text("Turn this setting on to give basal adjustments more agility. Keep this setting off if your basal needs are not highly variable.")
@@ -296,7 +296,7 @@ extension DynamicSettings {
                         units: state.units,
                         type: .decimal("threshold_setting"),
                         label: "Minimum Safety Threshold",
-                        miniHint: "Increase the safety threshold used to suspend insulin delivery \nDefault: 60 (Set by Algorithm)",
+                        miniHint: "Increase the safety threshold used to suspend insulin delivery",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: Set by Algorithm").bold()
                             VStack(alignment: .leading, spacing: 10) {

+ 4 - 4
FreeAPS/Sources/Modules/GeneralSettings/View/UnitsLimitsSettingsRootView.swift

@@ -58,7 +58,7 @@ extension UnitsLimitsSettings {
                     units: state.units,
                     type: .decimal("maxIOB"),
                     label: NSLocalizedString("Max IOB", comment: "Max IOB"),
-                    miniHint: "Maximum units of insulin allowed active at any given time \nDefault: 0 units",
+                    miniHint: "Maximum units of insulin allowed active at any given time",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 0 units").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -90,7 +90,7 @@ extension UnitsLimitsSettings {
                     units: state.units,
                     type: .decimal("maxBolus"),
                     label: "Max Bolus",
-                    miniHint: "Largest bolus of insulin allowed \nDefault: 10 units",
+                    miniHint: "Largest bolus of insulin allowed",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 10 units").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -115,7 +115,7 @@ extension UnitsLimitsSettings {
                     units: state.units,
                     type: .decimal("maxBasal"),
                     label: "Max Basal",
-                    miniHint: "Largest basal rate allowed \nDefault: 2.0 units",
+                    miniHint: "Largest basal rate allowed",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 2.0 units").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -139,7 +139,7 @@ extension UnitsLimitsSettings {
                     units: state.units,
                     type: .decimal("maxCOB"),
                     label: NSLocalizedString("Max COB", comment: "Max COB"),
-                    miniHint: "Max carbs Trio can use in dosing calculations \nDefault: 120 carbs",
+                    miniHint: "Max carbs Trio can use in dosing calculations",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 120 carbs").bold()
                         VStack(alignment: .leading, spacing: 10) {

+ 4 - 4
FreeAPS/Sources/Modules/GlucoseNotificationSettings/View/GlucoseNotificationSettingsRootView.swift

@@ -70,7 +70,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Show Glucose App Badge",
-                    miniHint: "Show your current glucose on Trio app icon \nDefault: OFF",
+                    miniHint: "Show your current glucose on Trio app icon",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("This will add your current glucose on the top right of your Trio icon as a red notification badge.")
@@ -92,7 +92,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Always Notify Glucose",
-                    miniHint: "Trigger a notification every time your glucose is updated \nDefault: OFF",
+                    miniHint: "Trigger a notification every time your glucose is updated",
                     verboseHint: VStack {
                         Text("Default: OFF").bold()
                         Text("A notification will be triggered every time your glucose is updated in Trio.")
@@ -113,7 +113,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Play Alarm Sound",
-                    miniHint: "Alarm with every Trio notification \nDefault: OFF",
+                    miniHint: "Alarm with every Trio notification",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("This will cause a sound to be triggered by every Trio notification.")
@@ -134,7 +134,7 @@ extension GlucoseNotificationSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Add Glucose Source to Alarm",
-                    miniHint: "Source of the glucose reading will be added to the notification \nDefault: OFF",
+                    miniHint: "Source of the glucose reading will be added to the notification",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("The source of the glucose reading will be added to the notification.")

+ 1 - 1
FreeAPS/Sources/Modules/HealthKit/View/AppleHealthKitRootView.swift

@@ -47,7 +47,7 @@ extension AppleHealthKit {
                     units: state.units,
                     type: .boolean,
                     label: "Connect to Apple Health",
-                    miniHint: "Allow Trio to read from and write to Apple Health \nDefault: OFF",
+                    miniHint: "Allow Trio to read from and write to Apple Health",
                     verboseHint: VStack {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {

+ 2 - 2
FreeAPS/Sources/Modules/LiveActivitySettings/View/LiveActivitySettingsRootView.swift

@@ -75,7 +75,7 @@ extension LiveActivitySettings {
                         units: state.units,
                         type: .boolean,
                         label: "Enable Live Activity",
-                        miniHint: "Display customizable data on Lock Screen and Dynamic Island \nDefault: OFF",
+                        miniHint: "Display customizable data on Lock Screen and Dynamic Island",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -111,7 +111,7 @@ extension LiveActivitySettings {
 
                                 HStack(alignment: .top) {
                                     Text(
-                                        "Choose between simple or detailed style \nDefault: Simple"
+                                        "Choose between simple or detailed style"
                                     )
                                     .font(.footnote)
                                     .foregroundColor(.secondary)

+ 5 - 5
FreeAPS/Sources/Modules/MealSettings/View/MealSettingsRootView.swift

@@ -208,7 +208,7 @@ extension MealSettings {
                     units: state.units,
                     type: .boolean,
                     label: "Enable Fat and Protein Entries",
-                    miniHint: "Allows you to add fat and protein macros to meals \nDefault: OFF",
+                    miniHint: "Allows you to add fat and protein macros to meals",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -263,7 +263,7 @@ extension MealSettings {
                         units: state.units,
                         type: .decimal("delay"),
                         label: "Fat and Protein Delay",
-                        miniHint: "Delay between fat & protein entry and first FPU entry \nDefault: 60 min",
+                        miniHint: "Delay between fat & protein entry and first FPU entry",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: 60 min").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -291,7 +291,7 @@ extension MealSettings {
                         units: state.units,
                         type: .decimal("timeCap"),
                         label: "Maximum Duration",
-                        miniHint: "Set the maximum timeframe to extend FPUs \nDefault: 8 hours",
+                        miniHint: "Set the maximum timeframe to extend FPUs",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: 8 hours").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -322,7 +322,7 @@ extension MealSettings {
                         units: state.units,
                         type: .decimal("minuteInterval"),
                         label: "Spread Interval",
-                        miniHint: "Time interval between FPUs \nDefault: 30 minutes",
+                        miniHint: "Time interval between FPUs",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: 30 minutes").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -351,7 +351,7 @@ extension MealSettings {
                         units: state.units,
                         type: .decimal("individualAdjustmentFactor"),
                         label: "Fat and Protein Percentage",
-                        miniHint: "Influences the conversion rate used in the Warsaw Method \nDefault: 50%",
+                        miniHint: "Influences the conversion rate used in the Warsaw Method",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: 50%").bold()
                             VStack(spacing: 10) {

+ 2 - 2
FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutFetchView.swift

@@ -45,7 +45,7 @@ struct NightscoutFetchView: View {
                 units: state.units,
                 type: .boolean,
                 label: "Allow Fetching from Nightscout",
-                miniHint: "Enable fetching of selected data sets from Nightscout \nDefault: OFF",
+                miniHint: "Enable fetching of selected data sets from Nightscout",
                 verboseHint: VStack(spacing: 10) {
                     Text("Default: OFF").bold()
                     Text(
@@ -70,7 +70,7 @@ struct NightscoutFetchView: View {
                     units: state.units,
                     type: .boolean,
                     label: "Allow Remote Control of Trio",
-                    miniHint: "Enables selected remote control capabilities via Nightscout \nDefault: OFF",
+                    miniHint: "Enables selected remote control capabilities via Nightscout",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("When enabled you allow the following remote functions through announcements from Nightscout:")

+ 2 - 2
FreeAPS/Sources/Modules/NightscoutConfig/View/NightscoutUploadView.swift

@@ -45,7 +45,7 @@ struct NightscoutUploadView: View {
                 units: state.units,
                 type: .boolean,
                 label: "Allow Uploading to Nightscout",
-                miniHint: "Enables upload of selected data sets to Nightscout \nDefault: OFF",
+                miniHint: "Enables upload of selected data sets to Nightscout",
                 verboseHint: VStack(spacing: 10) {
                     Text("Default: OFF").bold()
                     VStack(alignment: .leading, spacing: 10) {
@@ -79,7 +79,7 @@ struct NightscoutUploadView: View {
                     units: state.units,
                     type: .boolean,
                     label: "Upload Glucose",
-                    miniHint: "Enables uploading of CGM readings to Nightscout \nDefault: OFF",
+                    miniHint: "Enables uploading of CGM readings to Nightscout",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Enabling this setting allows CGM readings from Trio to be used in Nightscout.")

+ 1 - 1
FreeAPS/Sources/Modules/NightscoutConfig/View/ProfileImport/ReviewInsulinActionView.swift

@@ -49,7 +49,7 @@ struct ReviewInsulinActionView: BaseView {
                 units: state.units,
                 type: .decimal("dia"),
                 label: "Duration of Insulin Action",
-                miniHint: "Number of hours insulin is active in your body \nDefault: 6 hours",
+                miniHint: "Number of hours insulin is active in your body",
                 verboseHint: VStack(spacing: 10) {
                     Text("Default: 6 hours").bold()
                     VStack(alignment: .leading, spacing: 10) {

+ 12 - 12
FreeAPS/Sources/Modules/SMBSettings/View/SMBSettingsRootView.swift

@@ -48,7 +48,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Enable SMB Always", comment: "Enable SMB Always"),
-                    miniHint: "Allow SMBs at all times except when a high Temp Target is set \nDefault: OFF",
+                    miniHint: "Allow SMBs at all times except when a high Temp Target is set",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text(
@@ -73,7 +73,7 @@ extension SMBSettings {
                         units: state.units,
                         type: .boolean,
                         label: NSLocalizedString("Enable SMB With COB", comment: "Enable SMB With COB"),
-                        miniHint: "Allow SMB when carbs are on board \nDefault: OFF",
+                        miniHint: "Allow SMB when carbs are on board",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -101,7 +101,7 @@ extension SMBSettings {
                         units: state.units,
                         type: .boolean,
                         label: NSLocalizedString("Enable SMB With Temptarget", comment: "Enable SMB With Temptarget"),
-                        miniHint: "Allow SMB when a manual Temporary Target is set under 100 mg/dL (5.5 mmol/L) \nDefault: OFF",
+                        miniHint: "Allow SMB when a manual Temporary Target is set under 100 mg/dL (5.5 mmol/L)",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -129,7 +129,7 @@ extension SMBSettings {
                         units: state.units,
                         type: .boolean,
                         label: NSLocalizedString("Enable SMB After Carbs", comment: "Enable SMB After Carbs"),
-                        miniHint: "Allow SMB for 6 hrs after carbs are logged \nDefault: OFF",
+                        miniHint: "Allow SMB for 6 hrs after carbs are logged",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -158,7 +158,7 @@ extension SMBSettings {
                         type: .conditionalDecimal("enableSMB_high_bg_target"),
                         label: NSLocalizedString("Enable SMB With High BG", comment: "Enable SMB With High BG"),
                         conditionalLabel: "High BG Target",
-                        miniHint: "Allow SMB when glucose is above the High BG Target value \nDefault: OFF",
+                        miniHint: "Allow SMB when glucose is above the High BG Target value",
                         verboseHint: VStack(spacing: 10) {
                             Text("Default: OFF").bold()
                             VStack(alignment: .leading, spacing: 10) {
@@ -193,7 +193,7 @@ extension SMBSettings {
                         "Allow SMB With High Temptarget",
                         comment: "Allow SMB With High Temptarget"
                     ),
-                    miniHint: "Allow SMB when a manual Temporary Target is set greater than 100 mg/dL (5.5 mmol/L) \nDefault: OFF",
+                    miniHint: "Allow SMB when a manual Temporary Target is set greater than 100 mg/dL (5.5 mmol/L)",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -225,7 +225,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Enable UAM", comment: "Enable UAM"),
-                    miniHint: "Automatically adjust insulin delivery when carbs are not announced or miscalculated \nDefault: OFF",
+                    miniHint: "Automatically adjust insulin delivery when carbs are not announced or miscalculated",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -256,7 +256,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("maxSMBBasalMinutes"),
                     label: NSLocalizedString("Max SMB Basal Minutes", comment: "Max SMB Basal Minutes"),
-                    miniHint: "Limits the size of a single Super Micro Bolus (SMB) dose \nDefault: 30 minutes",
+                    miniHint: "Limits the size of a single Super Micro Bolus (SMB) dose",
                     verboseHint: VStack(spacing: 10) {
                         VStack(alignment: .center, spacing: 1) {
                             Text("Default: 30 minutes").bold()
@@ -299,7 +299,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("maxUAMSMBBasalMinutes"),
                     label: NSLocalizedString("Max UAM Basal Minutes", comment: "Max UAM Basal Minutes"),
-                    miniHint: "Limits the size of a single Unannounced Meal (UAM) SMB dose \nDefault: 30 minutes",
+                    miniHint: "Limits the size of a single Unannounced Meal (UAM) SMB dose",
                     verboseHint: VStack(spacing: 10) {
                         VStack(alignment: .center, spacing: 1) {
                             Text("Default: 30 minutes").bold()
@@ -342,7 +342,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("maxDeltaBGthreshold"),
                     label: NSLocalizedString("Max Delta-BG Threshold SMB", comment: "Max Delta-BG Threshold"),
-                    miniHint: "Disables SMBs if last two glucose values differ by more than this percent \nDefault: 20%",
+                    miniHint: "Disables SMBs if last two glucose values differ by more than this percent",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 20% increase").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -368,7 +368,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("smbDeliveryRatio"),
                     label: NSLocalizedString("SMB DeliveryRatio", comment: "SMB DeliveryRatio"),
-                    miniHint: "Limits % of total insulin required that can be given as SMB \nDefault: 50%",
+                    miniHint: "Limits % of total insulin required that can be given as SMB",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 50%").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -397,7 +397,7 @@ extension SMBSettings {
                     units: state.units,
                     type: .decimal("smbInterval"),
                     label: NSLocalizedString("SMB Interval", comment: "SMB Interval"),
-                    miniHint: "Minimum minutes since the last SMB or manual bolus to allow an automated SMB \nDefault: 3 min",
+                    miniHint: "Minimum minutes since the last SMB or manual bolus to allow an automated SMB",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 3 min").bold()
                         VStack(alignment: .leading, spacing: 10) {

+ 1 - 1
FreeAPS/Sources/Modules/ShortcutsConfig/View/ShortcutsConfigView.swift

@@ -70,7 +70,7 @@ extension ShortcutsConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Allow Bolusing with Shortcuts",
-                    miniHint: "Automate boluses using the Shortcuts App \nDefault: OFF",
+                    miniHint: "Automate boluses using the Shortcuts App",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {

+ 5 - 5
FreeAPS/Sources/Modules/TargetBehavoir/View/TargetBehavoirRootView.swift

@@ -54,7 +54,7 @@ extension TargetBehavoir {
                         "High Temp Target Raises Sensitivity",
                         comment: "High Temp Target Raises Sensitivity"
                     ),
-                    miniHint: "A Temp Target > 110 mg/dL increases sensitivity when glucose is above target \nDefault: OFF",
+                    miniHint: "A Temp Target > 110 mg/dL increases sensitivity when glucose is above target",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -90,7 +90,7 @@ extension TargetBehavoir {
                         "Low Temp Target Lowers Sensitivity",
                         comment: "Low Temp Target Lowers Sensitivity"
                     ),
-                    miniHint: "Temp Target < 100 mg/dL decreases sensitivity when glucose is below target \nDefault setting: OFF",
+                    miniHint: "Temp Target < 100 mg/dL decreases sensitivity when glucose is below target",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         VStack(alignment: .leading, spacing: 10) {
@@ -119,7 +119,7 @@ extension TargetBehavoir {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Sensitivity Raises Target", comment: "Sensitivity Raises Target"),
-                    miniHint: "Automatically raise target glucose if sensitivity is detected \nDefault: OFF",
+                    miniHint: "Automatically raise target glucose if sensitivity is detected",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text("Automatically increase target glucose if it detects an increase in sensitivity.")
@@ -140,7 +140,7 @@ extension TargetBehavoir {
                     units: state.units,
                     type: .boolean,
                     label: NSLocalizedString("Resistance Lowers Target", comment: "Resistance Lowers Target"),
-                    miniHint: "Automatically lower target glucose if resistance is detected \nDefault: OFF",
+                    miniHint: "Automatically lower target glucose if resistance is detected",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: OFF").bold()
                         Text(
@@ -163,7 +163,7 @@ extension TargetBehavoir {
                     units: state.units,
                     type: .decimal("halfBasalExerciseTarget"),
                     label: NSLocalizedString("Half Basal Exercise Target", comment: "Half Basal Exercise Target"),
-                    miniHint: "Scales down your basal rate to 50% at this value \nDefault: 160 mg/dL (8.9 mmol/L)",
+                    miniHint: "Scales down your basal rate to 50% at this value",
                     verboseHint: VStack(spacing: 10) {
                         Text("Default: 160 mg/dL (8.9 mmol/L)").bold()
                         VStack(alignment: .leading, spacing: 10) {

+ 1 - 1
FreeAPS/Sources/Modules/UserInterfaceSettings/View/UserInterfaceSettingsRootView.swift

@@ -298,7 +298,7 @@ extension UserInterfaceSettings {
 
                         HStack(alignment: .top) {
                             Text(
-                                "Choose between the OpenAPS colored Lines or the Cone of Uncertainty for the Forecast Lines \nDefault: Cone"
+                                "Choose between the OpenAPS colored Lines or the Cone of Uncertainty for the Forecast Lines"
                             )
                             .font(.footnote)
                             .foregroundColor(.secondary)