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
About's page in the main window keeps the width of the About window
Țugui Dragoș933bebb49ccd
diff --git a/Peel/HomeSnapshot.swift b/Peel/HomeSnapshot.swiftindex afc747a1..4954ac07 100644--- a/Peel/HomeSnapshot.swift+++ b/Peel/HomeSnapshot.swift@@ -26,7 +26,7 @@ enum HomeSnapshot {// The permissions at their widest, and at their narrowest, where Home puts its two halves side by side.render(HomePermissionsContent().environment(home).environment(helper).environment(ExclusionsStore.shared), width: 720, height: 680, on: window, scheme: scheme, contrast: contrast, to: "\(directory)/home-detail-\(name).png")render(HomePermissionsContent().environment(home).environment(helper).environment(ExclusionsStore.shared), width: 480, height: 700, on: window, scheme: scheme, contrast: contrast, to: "\(directory)/detail-narrow-\(name).png")- render(AboutContent().fixedSize(horizontal: false, vertical: true), width: 380, on: Album.sheet, scheme: scheme, contrast: contrast, to: "\(directory)/about-\(name).png")+ render(AboutContent().fixedSize(horizontal: false, vertical: true), width: AboutContent.width, on: Album.sheet, scheme: scheme, contrast: contrast, to: "\(directory)/about-\(name).png")render(MenuBarPanel().environment(AppLibrary()).environment(stats), width: 320, scheme: scheme, contrast: contrast, to: "\(directory)/menu-bar-\(name).png")}}diff --git a/Peel/Views/AboutView.swift b/Peel/Views/AboutView.swiftindex 5d2df86e..18990b21 100644--- a/Peel/Views/AboutView.swift+++ b/Peel/Views/AboutView.swift@@ -2,6 +2,10 @@ import AppKitimport SwiftUIstruct AboutContent: View {+ /// The width About is laid out for, in its window and on its page in the main window alike, so a long line+ /// breaks the same way in both rather than running across the whole column.+ static let width: CGFloat = 380+@Environment(\.colorScheme) private var colorSchemevar body: some View {@@ -119,7 +123,7 @@ struct AboutView: View {var body: some View {AboutContent()- .frame(width: 380)+ .frame(width: AboutContent.width).fixedSize(horizontal: false, vertical: true).background(Album.sheet)}diff --git a/Peel/Views/ContentView.swift b/Peel/Views/ContentView.swiftindex 66b6b188..38a82032 100644--- a/Peel/Views/ContentView.swift+++ b/Peel/Views/ContentView.swift@@ -71,6 +71,7 @@ struct ContentView: View {case .about:// No title over it: the page says what it is, in larger type than a title bar could.AboutContent()+ .frame(width: AboutContent.width).centeredOnColumn().toolbar(removing: .title)case .tool, nil: