tmhastings před 1 rokem
rodič
revize
4140bd2cce

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

@@ -127,20 +127,10 @@ extension AutosensSettings {
                     """,
                     """,
                     verboseHint: VStack {
                     verboseHint: VStack {
                         Text("Default: ON").bold()
                         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 =
                                             selectedVerboseHint =
                                                 AnyView(
                                                 AnyView(
                                                     VStack(spacing: 10) {
                                                     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) {
                                                         VStack(alignment: .leading) {
                                                             Text("• Current Glucose Reading")
                                                             Text("• Current Glucose Reading")
                                                             Text("• IOB: Insulin On Board")
                                                             Text("• IOB: Insulin On Board")

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

@@ -45,7 +45,10 @@ struct NightscoutFetchView: View {
                 units: state.units,
                 units: state.units,
                 type: .boolean,
                 type: .boolean,
                 label: "Allow Fetching from Nightscout",
                 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(
                 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."
                     "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,
                     units: state.units,
                     type: .boolean,
                     type: .boolean,
                     label: "Allow Remote Control of Trio",
                     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) {
                     verboseHint: VStack(spacing: 10) {
                         Text("When enabled you allow these remote functions through announcements from Nightscout:")
                         Text("When enabled you allow these remote functions through announcements from Nightscout:")
                         VStack(alignment: .leading) {
                         VStack(alignment: .leading) {

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

@@ -45,7 +45,10 @@ struct NightscoutUploadView: View {
                 units: state.units,
                 units: state.units,
                 type: .boolean,
                 type: .boolean,
                 label: "Allow Uploading to Nightscout",
                 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) {
                 verboseHint: VStack(spacing: 5) {
                     Text("The Upload Treatments toggle enables uploading of:")
                     Text("The Upload Treatments toggle enables uploading of:")
                     VStack(alignment: .leading) {
                     VStack(alignment: .leading) {
@@ -74,7 +77,7 @@ struct NightscoutUploadView: View {
                     units: state.units,
                     units: state.units,
                     type: .boolean,
                     type: .boolean,
                     label: "Upload Glucose",
                     label: "Upload Glucose",
-                    miniHint: "Enables uploading of CGM readings to Nightscout.",
+                    miniHint: "Enables uploading of CGM readings to Nightscout",
                     verboseHint: Text(
                     verboseHint: Text(
                         "Enabling this setting allows CGM readings from Trio to be used in Nightscout."
                         "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)
                 ).listRowBackground(Color.chart)
-
+                
                 Section {
                 Section {
                     Button {
                     Button {
                         UIApplication.shared.open(URL(string: "shortcuts://")!)
                         UIApplication.shared.open(URL(string: "shortcuts://")!)
@@ -55,7 +55,7 @@ extension ShortcutsConfig {
                         .buttonStyle(.bordered)
                         .buttonStyle(.bordered)
                 }
                 }
                 .listRowBackground(Color.clear)
                 .listRowBackground(Color.clear)
-
+                
                 SettingInputSection(
                 SettingInputSection(
                     decimalValue: $decimalPlaceholder,
                     decimalValue: $decimalPlaceholder,
                     booleanValue: $state.allowBolusByShortcuts,
                     booleanValue: $state.allowBolusByShortcuts,
@@ -70,8 +70,15 @@ extension ShortcutsConfig {
                     units: state.units,
                     units: state.units,
                     type: .boolean,
                     type: .boolean,
                     label: "Allow Bolusing with Shortcuts",
                     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) {
             .sheet(isPresented: $shouldDisplayHint) {