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 Homebrew's clean bill of health with a green symbol only

Țugui Dragoșaf4affc1834e
diff --git a/Peel/Views/Homebrew/HomebrewList.swift b/Peel/Views/Homebrew/HomebrewList.swift
index f95b5471..fdf4196f 100644
--- a/Peel/Views/Homebrew/HomebrewList.swift
+++ b/Peel/Views/Homebrew/HomebrewList.swift
@@ -276,8 +276,9 @@ struct HomebrewList: View {
if let findings = homebrew.findings {
Section {
if findings.isEmpty {
- Label("Homebrew found nothing out of place.", systemImage: "checkmark.circle")
- .foregroundStyle(.green)
+ StatusLabel(
+ title: Text("Homebrew found nothing out of place."), systemImage: "checkmark.circle", tint: .green
+ )
} else {
// Findings can't be selected, since the detail pane shows only packages.
ForEach(findings) { finding in