Преглед изворни кода

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

trioneer пре 2 недеља
родитељ
комит
d07ca4329f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Trio/Sources/Modules/GlucoseAlerts/View/GlucoseAlertsRootView.swift

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

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