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

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

trioneer недель назад: 3
Родитель
Сommit
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 {
         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)
                         }
                         }