tmhastings 1 год назад
Родитель
Сommit
4140bd2cce

+ 4 - 14
FreeAPS/Sources/Modules/AutosensSettings/View/AutosensSettingsRootView.swift

@@ -127,20 +127,10 @@ extension AutosensSettings {
                     """,
                     verboseHint: VStack {
                         Text("Default: ON").bold()
-                        Text("""
-                        Medtronic Users Only
-                        """).bold().italic()
-                        Text("""
-
-                        This feature resets the Autosens Ratio to neutral when you rewind your pump on the assumption that this corresponds to a site change.
-
-                        Autosens will begin learning sensitivity anew from the time of the rewind, which may take up to 6 hours.
-
-                        """)
-                        Text(
-                            "If you usually rewind your pump independently of site changes, you may want to consider disabling this feature."
-                        )
-                        .italic()
+                        Text("Medtronic Users Only").bold().italic()
+                        Text("This feature resets the Autosens Ratio to neutral when you rewind your pump on the assumption that this corresponds to a site change.")
+                        Text("Autosens will begin learning sensitivity anew from the time of the rewind, which may take up to 6 hours.")
+                        Text("If you usually rewind your pump independently of site changes, you may want to consider disabling this feature.").italic()
                     }
                 )
             }

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

@@ -126,11 +126,8 @@ extension LiveActivitySettings {
                                             selectedVerboseHint =
                                                 AnyView(
                                                     VStack(spacing: 10) {
-                                                        Text("""
-                                                        Trio's Simple Lock Screen Widget only display current glucose reading, trend arrow, delta and the timestamp of the current reading.
-
-                                                        The Detailed Lock Screen Widget offers users a glucose chart as well as the ability to customize the information provided in the Detailed Widget using the following options:
-                                                        """)
+                                                        Text("Trio's Simple Lock Screen Widget only display current glucose reading, trend arrow, delta and the timestamp of the current reading.")
+                                                        Text("The Detailed Lock Screen Widget offers users a glucose chart as well as the ability to customize the information provided in the Detailed Widget using the following options:")
                                                         VStack(alignment: .leading) {
                                                             Text("• Current Glucose Reading")
                                                             Text("• IOB: Insulin On Board")

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

@@ -45,7 +45,10 @@ struct NightscoutFetchView: View {
                 units: state.units,
                 type: .boolean,
                 label: "Allow Fetching from Nightscout",
-                miniHint: "Enable fetching of selected data sets from Nightscout. See hint for more details.",
+                miniHint: """
+                Enable fetching of selected data sets from Nightscout
+                See hint for more details.
+                """,
                 verboseHint: Text(
                     "The Fetch Treatments toggle enables fetching of carbs and temp targets entered in Careportal or by another uploading device than Trio from Nightscout."
                 ),
@@ -67,7 +70,10 @@ struct NightscoutFetchView: View {
                     units: state.units,
                     type: .boolean,
                     label: "Allow Remote Control of Trio",
-                    miniHint: "Enables selected remote control capabilities via Nightscout. See hint for more details.",
+                    miniHint: """
+                    Enables selected remote control capabilities via Nightscout
+                    See hint for more details
+                    """,
                     verboseHint: VStack(spacing: 10) {
                         Text("When enabled you allow these remote functions through announcements from Nightscout:")
                         VStack(alignment: .leading) {

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

@@ -45,7 +45,10 @@ struct NightscoutUploadView: View {
                 units: state.units,
                 type: .boolean,
                 label: "Allow Uploading to Nightscout",
-                miniHint: "Enables upload of selected data sets to Nightscout. See hint for more details.",
+                miniHint: """
+                Enables upload of selected data sets to Nightscout
+                See hint for more details
+                """,
                 verboseHint: VStack(spacing: 5) {
                     Text("The Upload Treatments toggle enables uploading of:")
                     VStack(alignment: .leading) {
@@ -74,7 +77,7 @@ struct NightscoutUploadView: View {
                     units: state.units,
                     type: .boolean,
                     label: "Upload Glucose",
-                    miniHint: "Enables uploading of CGM readings to Nightscout.",
+                    miniHint: "Enables uploading of CGM readings to Nightscout",
                     verboseHint: Text(
                         "Enabling this setting allows CGM readings from Trio to be used in Nightscout."
                     )

+ 11 - 4
FreeAPS/Sources/Modules/ShortcutsConfig/View/ShortcutsConfigView.swift

@@ -45,7 +45,7 @@ extension ShortcutsConfig {
                         )
                     }
                 ).listRowBackground(Color.chart)
-
+                
                 Section {
                     Button {
                         UIApplication.shared.open(URL(string: "shortcuts://")!)
@@ -55,7 +55,7 @@ extension ShortcutsConfig {
                         .buttonStyle(.bordered)
                 }
                 .listRowBackground(Color.clear)
-
+                
                 SettingInputSection(
                     decimalValue: $decimalPlaceholder,
                     booleanValue: $state.allowBolusByShortcuts,
@@ -70,8 +70,15 @@ extension ShortcutsConfig {
                     units: state.units,
                     type: .boolean,
                     label: "Allow Bolusing with Shortcuts",
-                    miniHint: "Lorem ipsum dolor sit amet, consetetur sadipscing elitr.",
-                    verboseHint: Text("Allow Bolusing with Shortcuts… bla bla bla")
+                    miniHint: """
+                    Automate boluses using the Shortcuts App
+                    Default: OFF
+                    """,
+                    verboseHint: VStack {
+                        Text("Default: OFF").bold()
+                        Text("Enabling this setting allows the iOS Shortcuts App to send bolus commands to Trio.")
+                        Text("Disabling this setting will still allow other commands, like Temp Targets, Add Carbs, and Start/End Overrides")
+                    }
                 )
             }
             .sheet(isPresented: $shouldDisplayHint) {