Sfoglia il codice sorgente

Change 'Swift Oref' tag color from pink to green

Deniz Cengiz 2 settimane fa
parent
commit
9f74a5da42
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      Trio/Sources/Views/TagCloudView.swift

+ 2 - 3
Trio/Sources/Views/TagCloudView.swift

@@ -59,7 +59,8 @@ struct TagCloudView: View {
             switch textTag {
             case textTag where textTag.contains("SMB Delivery Ratio:"):
                 return .uam
-            case textTag where textTag.contains("Bolus"):
+            case textTag where textTag.contains("Bolus"),
+                 textTag where textTag.contains("Swift Oref"): // FIXME: remove this before feat/dev-oref-swift is merged to dev
                 return .green
             case textTag where textTag.contains("TDD:"),
                  textTag where textTag.contains("tdd_factor"),
@@ -77,8 +78,6 @@ struct TagCloudView: View {
                 return .orange
             case textTag where textTag.contains("Smoothing: On"):
                 return .gray
-            case textTag where textTag.contains("Swift Oref"): // FIXME: remove this before feat/dev-oref-swift is merged to dev
-                return .pink
             default:
                 return .insulin
             }