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

update Help option text and Help text for Glucose Low/High Alarms, Show Glucose App Badge, and Play Alarm Sound Trio Notifications

kskandis 1 год назад
Родитель
Сommit
1c91f9ffd4

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

@@ -16,7 +16,7 @@ public enum GlucoseNotificationsOption: String, JSON, CaseIterable, Identifiable
         switch self {
         case .disabled: return "Disabled"
         case .alwaysEveryCGM: return "Always"
-        case .onlyLowHigh: return "Only LOW/HIGH"
+        case .onlyLowHigh: return "Low/High Alarms"
         }
     }
 }

+ 7 - 3
FreeAPS/Sources/Modules/GlucoseNotificationSettings/View/GlucoseNotificationSettingsRootView.swift

@@ -57,7 +57,9 @@ extension GlucoseNotificationSettings {
                     miniHint: "Alarm with every Trio notification.",
                     verboseHint: VStack(alignment: .leading, spacing: 10) {
                         Text("Default: OFF").bold()
-                        Text("This will cause a sound to be triggered by every Trio notification.")
+                        Text(
+                            "This will cause a sound to be triggered by Trio notifications for Carbs Required, and Glucose Low/High Alarms."
+                        )
                     }
                 )
                 SettingInputSection(
@@ -181,7 +183,9 @@ extension GlucoseNotificationSettings {
                     miniHint: "Show your current glucose on Trio app icon.",
                     verboseHint: VStack(alignment: .leading, 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.")
+                        Text(
+                            "This will add your current glucose on the top right of your Trio icon as a red notification badge.  Changing setting takes effect on next Glucose reading."
+                        )
                     },
                     headerText: "Various Glucose Notifications"
                 )
@@ -225,7 +229,7 @@ extension GlucoseNotificationSettings {
                                                     )
                                                 }
                                                 VStack(alignment: .leading, spacing: 5) {
-                                                    Text("Only LOW/HIGH:").bold()
+                                                    Text("Low/High Alarms:").bold()
                                                     Text(
                                                         "A notification will be triggered only when glucose is below LOW and above HIGH settings as defined in Glucose Alarm Limits below."
                                                     )