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

Update SMBSettingsRootView.swift

Missing quotation at the end of text string.
tmhastings 1 год назад
Родитель
Сommit
057f6b84b7

+ 6 - 2
FreeAPS/Sources/Modules/GeneralSettings/View/UnitsLimitsSettingsRootView.swift

@@ -108,7 +108,9 @@ extension UnitsLimitsSettings {
                         Text(
                             "This is the maximum basal rate allowed to be set or scheduled. This applies to both automatic and manual basal rates."
                         )
-                        Text("Note to Medtronic Pump Users: You must also manually set the max basal rate on the pump to this value or higher.")
+                        Text(
+                            "Note to Medtronic Pump Users: You must also manually set the max basal rate on the pump to this value or higher."
+                        )
                     }
                 )
 
@@ -133,7 +135,9 @@ extension UnitsLimitsSettings {
                         Text(
                             "This setting defines the maximum amount of Carbs On Board (COB) at any given time for Trio to use in dosing calculations. If more carbs are entered than allowed by this limit, Trio will cap the current COB in calculations to Max COB and remain at max until all remaining carbs have shown to be absorbed."
                         )
-                        Text("For example, if Max COB is 120g and you enter a meal containing 150g of carbs, your COB will remain at 120g until the remaining 30g have been absorbed.")
+                        Text(
+                            "For example, if Max COB is 120g and you enter a meal containing 150g of carbs, your COB will remain at 120g until the remaining 30g have been absorbed."
+                        )
                         Text("This is an important limit when UAM is ON.")
                     }
                 )

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

@@ -38,7 +38,9 @@ extension SMBSettings {
                         Text(
                             "When enabled, Super Micro Boluses (SMBs) will always be allowed if dosing calculations determine insulin is needed via the SMB delivery method, except when a high Temp Target is set. Enabling SMB Always will remove redundant \"Enable SMB\" options when this setting is enacted."
                         )
-                        Text("Note: If you would like to allow SMBs when a high Temp Target is set, enable the \"Allow SMBs with High Temptarget\" setting.)
+                        Text(
+                            "Note: If you would like to allow SMBs when a high Temp Target is set, enable the \"Allow SMBs with High Temptarget\" setting."
+                        )
                     },
                     headerText: "Super-Micro-Bolus"
                 )