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
Take an uninstalled app's icon out of the Dock unless it is deselected
Țugui Dragoșded65f387680
diff --git a/Peel/Views/AppDetailView.swift b/Peel/Views/AppDetailView.swiftindex c7f1142d..f41aa300 100644--- a/Peel/Views/AppDetailView.swift+++ b/Peel/Views/AppDetailView.swift@@ -12,7 +12,7 @@ struct AppDetailView: View {@Environment(RemovalOutcome.self) private var outcome@State private var isRescanning = false@State private var resetsPrivacy = false- @State private var removesDockTile = false+ @State private var removesDockTile = true@State private var hasDockTile = false@State private var isConfirmingPrivacyReset = false/// The result of the last privacy reset started from the More menu, shown under the buttons.diff --git a/Peel/Views/DockTileRow.swift b/Peel/Views/DockTileRow.swiftindex b3d73947..d2ae1ff3 100644--- a/Peel/Views/DockTileRow.swift+++ b/Peel/Views/DockTileRow.swift@@ -1,7 +1,7 @@import SwiftUI-/// A checkbox that also takes the removed apps' icons out of the Dock. It is off until the user selects it,-/// because it changes the Dock.+/// A checkbox that also takes the removed apps' icons out of the Dock, selected unless the user deselects it: a gone+/// app's icon is only a question mark, and History puts it back with the app.struct DockTileRow: View {@Binding var isOn: Booldiff --git a/Peel/Views/MultipleAppsView.swift b/Peel/Views/MultipleAppsView.swiftindex 97adb1a8..04c0521d 100644--- a/Peel/Views/MultipleAppsView.swift+++ b/Peel/Views/MultipleAppsView.swift@@ -10,7 +10,7 @@ struct MultipleAppsView: View {@State private var plan: BulkRemovalPlan@State private var quitting = QuitBeforeRemoving()@State private var resetsPrivacy = false- @State private var removesDockTiles = false+ @State private var removesDockTiles = true@State private var appsInTheDock: Set<URL> = []@State private var isRescanning = false@State private var questionTitle = Text(verbatim: "")diff --git a/README.md b/README.mdindex 27e9c468..aa6096af 100644--- a/README.md+++ b/README.md@@ -91,8 +91,8 @@ Peel is free and open source, and it speaks English and 17 other languages.put them back, and never selects your own work.- **Privacy permissions too, if you want.** Peel can also reset the permissions macOS gave the app, such as accessto the camera and the microphone.-- **Its Dock icon too, if you want.** Peel can take the app's icon out of the Dock, where it would stay as a- question mark, and History puts it back where it was when you put the app back.+- **Its Dock icon too.** Peel takes the app's icon out of the Dock, where it would stay as a question mark,+ unless you deselect it, and History puts it back where it was when you put the app back.- **What it opens.** An app's page lists the kinds of files and links it opens by default, and what would openthem once it's gone. Peel never changes that itself.- **Updates for your apps.** Peel checks your apps for new versions, through the update feed each app names or the