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.

Duplicates' list says what its count counts

Țugui Dragoșa434c564ef15
diff --git a/Peel/Views/Duplicates/DuplicateList.swift b/Peel/Views/Duplicates/DuplicateList.swift
index b8dd1e69..fc29dd2c 100644
--- a/Peel/Views/Duplicates/DuplicateList.swift
+++ b/Peel/Views/Duplicates/DuplicateList.swift
@@ -161,6 +161,7 @@ private struct DuplicateFolderGroupRow: View {
} icon: {
Image(systemName: "folder.badge.plus")
}
+ .accessibilityLabel(Text("^[\(group.folders.count) copy](inflect: true)"))
Text("^[\(group.fileCount) file](inflect: true)")
}
.font(.caption)
@@ -191,6 +192,8 @@ private struct DuplicateGroupRow: View {
} icon: {
Image(systemName: "doc.on.doc")
}
+ // The symbol is what says the number counts copies.
+ .accessibilityLabel(Text("^[\(group.files.count) copy](inflect: true)"))
}
.font(.caption)
.foregroundStyle(.secondary)