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.

Let any view take the row figure style

Țugui Dragoșec63bf18be2c
diff --git a/Peel/Views/ToolRow.swift b/Peel/Views/ToolRow.swift
index 9231f9d1..d0eddfcd 100644
--- a/Peel/Views/ToolRow.swift
+++ b/Peel/Views/ToolRow.swift
@@ -35,7 +35,7 @@ extension ToolRow where Trailing == EmptyView {
}
}
-extension Text {
+extension View {
/// Styles the size or count at a row's trailing edge, with monospaced digits so the figures line up.
func rowFigure() -> some View {
font(.subheadline).monospacedDigit().foregroundStyle(.secondary)