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.

Title a row's note with the name the row shows

Țugui Dragoș07beb4fe70d1
diff --git a/Peel/Views/RemovalRow.swift b/Peel/Views/RemovalRow.swift
index 3dba1120..65c886f8 100644
--- a/Peel/Views/RemovalRow.swift
+++ b/Peel/Views/RemovalRow.swift
@@ -229,7 +229,7 @@ struct RemovalRow: View {
private var noteButton: some View {
if hasExplanation {
InfoNote(
- name: url.lastPathComponent,
+ name: name ?? url.lastPathComponent,
detail: explanation.characters.isEmpty ? nil : Text(explanation),
footnote: Text(verbatim: url.path(percentEncoded: false)),
caution: warning.map { Text(Self.commandsMarked($0)) },