Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Draw a problem notice's title in the text's own color outside Home
Țugui Dragoș58b3e2279534
diff --git a/Peel/Views/Notice.swift b/Peel/Views/Notice.swiftindex 47e718a6..57678658 100644--- a/Peel/Views/Notice.swift+++ b/Peel/Views/Notice.swift@@ -77,11 +77,11 @@ struct Notice<Actions: View>: View {}}- /// Only a problem gets a colored title, in red. Orange text is too faint to read, and gray would look- /// like the detail line under it.+ /// Only a problem's title takes a color, and only on Home, in the album's red. Elsewhere the red is the+ /// symbol's: red words read under the 4.5:1 text needs on a light background.private var titleColor: Color {- guard kind != .problem else { return isAlbum ? Album.red : .red }- return isAlbum ? Album.ink : .primary+ guard isAlbum else { return .primary }+ return kind == .problem ? Album.red : Album.ink}private var tint: Color {