Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Show why History couldn't put an item back with an orange symbol only

Țugui Dragoșbca78c9c1ae0
diff --git a/Peel/Views/History/HistoryDetailView.swift b/Peel/Views/History/HistoryDetailView.swift
index 479fd102..17106f87 100644
--- a/Peel/Views/History/HistoryDetailView.swift
+++ b/Peel/Views/History/HistoryDetailView.swift
@@ -311,9 +311,9 @@ private struct HistoryRecordRow: View {
.font(.caption)
.foregroundStyle(.secondary)
if let failure {
- Label(failure.explanation, systemImage: "exclamationmark.triangle")
+ StatusLabel(title: Text(verbatim: failure.explanation))
.font(.caption)
- .foregroundStyle(.orange)
+ .foregroundStyle(.secondary)
}
}
Spacer(minLength: 12)