Browse Source

Rename glucose-alarm list sections Active/Inactive to Enabled/Disabled

trioneer 2 weeks ago
parent
commit
d07ca4329f

+ 2 - 2
Trio/Sources/Modules/GlucoseAlerts/View/GlucoseAlertsRootView.swift

@@ -37,14 +37,14 @@ extension GlucoseAlerts {
         var body: some View {
         var body: some View {
             List {
             List {
                 if !enabledAlerts.isEmpty {
                 if !enabledAlerts.isEmpty {
-                    Section(header: Text("Active")) {
+                    Section(header: Text("Enabled")) {
                         ForEach(enabledAlerts) { alarm in
                         ForEach(enabledAlerts) { alarm in
                             row(for: alarm)
                             row(for: alarm)
                         }
                         }
                     }.listRowBackground(Color.chart)
                     }.listRowBackground(Color.chart)
                 }
                 }
                 if !disabledAlerts.isEmpty {
                 if !disabledAlerts.isEmpty {
-                    Section(header: Text("Inactive")) {
+                    Section(header: Text("Disabled")) {
                         ForEach(disabledAlerts) { alarm in
                         ForEach(disabledAlerts) { alarm in
                             row(for: alarm).opacity(0.6)
                             row(for: alarm).opacity(0.6)
                         }
                         }