Explorar o código

Change 'Swift Oref' tag color from pink to green

Deniz Cengiz hai 3 semanas
pai
achega
9f74a5da42
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      Trio/Sources/Views/TagCloudView.swift

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

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