소스 검색

Rename Pump Alarms → Device Alarms

trioneer 1 주 전
부모
커밋
8f751633c6

+ 1 - 1
Trio/Sources/Modules/AlarmWindows/View/AlarmWindowsRootView.swift

@@ -88,7 +88,7 @@ extension AlarmWindows {
                                                 )
                                             )
                                             Text(
-                                                "These windows are shared between Glucose Alarms and Pump Alarms."
+                                                "These windows are shared between Glucose Alarms and Device Alarms."
                                             )
                                         }
                                     )

+ 1 - 1
Trio/Sources/Modules/DeviceAlarms/View/DeviceAlarmsRootView.swift

@@ -46,7 +46,7 @@ extension DeviceAlarms {
             }
             .scrollContentBackground(.hidden)
             .background(appState.trioBackgroundColor(for: colorScheme))
-            .navigationTitle("Pump Alarms")
+            .navigationTitle("Device Alarms")
             .navigationBarTitleDisplayMode(.inline)
             .toolbar {
                 ToolbarItem(placement: .primaryAction) {

+ 7 - 2
Trio/Sources/Modules/Settings/SettingItems.swift

@@ -351,9 +351,14 @@ enum SettingItems {
                 "Bolus Failed",
                 "Pod",
                 "Sensor Failure",
-                "Device Expired"
+                "Sensor Stopped",
+                "Calibration",
+                "Signal Loss",
+                "Device Expired",
+                "Not Looping",
+                "Algorithm"
             ],
-            path: ["Notifications", "Pump Alarms"]
+            path: ["Notifications", "Device Alarms"]
         ),
         SettingItem(
             title: "Day & Night Windows",

+ 1 - 1
Trio/Sources/Modules/Settings/View/Subviews/NotificationsView.swift

@@ -68,7 +68,7 @@ struct NotificationsView: BaseView {
                     Text("Glucose Alarms")
                         .navigationLink(to: .glucoseAlerts, from: self)
 
-                    Text("Pump Alarms")
+                    Text("Device Alarms")
                         .navigationLink(to: .deviceAlarms, from: self)
 
                     Text("Day & Night Windows")

+ 1 - 1
Trio/Sources/Services/Alerts/NotLoopingMonitor.swift

@@ -11,7 +11,7 @@ import Swinject
 ///
 /// Replaces the legacy `scheduleMissingLoopNotifiactions` direct-UN path
 /// in `BaseUserNotificationsManager`. The alert now flows through
-/// `TrioAlertManager` and inherits tier config from Pump Alarms
+/// `TrioAlertManager` and inherits tier config from Device Alarms
 /// (Critical tier by default).
 final class NotLoopingMonitor: Injectable {
     @Injected() private var apsManager: APSManager!