summaryrefslogtreecommitdiff
path: root/DomainDig/BatchResultsView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DomainDig/BatchResultsView.swift')
-rw-r--r--DomainDig/BatchResultsView.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/DomainDig/BatchResultsView.swift b/DomainDig/BatchResultsView.swift
index e97899e..027d074 100644
--- a/DomainDig/BatchResultsView.swift
+++ b/DomainDig/BatchResultsView.swift
@@ -104,7 +104,7 @@ struct BatchResultRowView: View {
if let changeClassification = result.changeClassification {
Text("Impact: \(changeClassification.title)")
.font(appDensity.font(.caption2))
- .foregroundStyle(changeClassification == .critical ? .red : (changeClassification == .warning ? .yellow : .secondary))
+ .foregroundStyle(changeClassification.color)
}
if let errorMessage = result.errorMessage {