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
Show no zeros in the menu bar panel before anything moved
Țugui Dragoșf0fa1dd70907
diff --git a/Localization/Peel/Localizable.xcstrings b/Localization/Peel/Localizable.xcstringsindex 7973faed..84619f6b 100644--- a/Localization/Peel/Localizable.xcstrings+++ b/Localization/Peel/Localizable.xcstrings@@ -105879,6 +105879,113 @@}}},+ "Nothing moved to the Trash yet" : {+ "comment" : "Shown in the menu bar panel in place of the totals until Peel has moved something to the Trash, so a new install shows no zeros. A short line on its own, without a full stop.",+ "localizations" : {+ "cs" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Do koše se zatím nic nepřesunulo"+ }+ },+ "de" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Noch nichts in den Papierkorb gelegt"+ }+ },+ "es" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Aún no se ha trasladado nada a la papelera"+ }+ },+ "fr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Rien n’a encore été placé dans la corbeille"+ }+ },+ "it" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Ancora nessun elemento spostato nel Cestino"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "まだ何もゴミ箱に入れていません"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "아직 휴지통으로 이동한 항목 없음"+ }+ },+ "nl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Nog niets naar de prullenmand verplaatst"+ }+ },+ "pl" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Jeszcze nic nie przeniesiono do Kosza"+ }+ },+ "pt" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Nada foi movido para o Lixo ainda"+ }+ },+ "ro" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Încă nu s‑a mutat nimic în Coș"+ }+ },+ "ru" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Пока ничего не перемещено в Корзину"+ }+ },+ "sv" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Inget flyttat till papperskorgen än"+ }+ },+ "tr" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Henüz Çöp Sepeti’ne hiçbir şey taşınmadı"+ }+ },+ "uk" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Ще нічого не переміщено в Смітник"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "尚未将任何内容移到废纸篓"+ }+ },+ "zh-Hant" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "尚未將任何項目丟到「垃圾桶」"+ }+ }+ }+ },"Nothing to Free" : {"localizations" : {"cs" : {diff --git a/Peel/Views/MenuBarPanel.swift b/Peel/Views/MenuBarPanel.swiftindex 3965fcc4..19920bf5 100644--- a/Peel/Views/MenuBarPanel.swift+++ b/Peel/Views/MenuBarPanel.swift@@ -45,14 +45,25 @@ struct MenuBarPanel: View {private var middle: some View {VStack(spacing: 0) {- hero- Text("Since \(stats.installedOn, format: .dateTime.day().month(.wide).year())")- .font(.callout.weight(.semibold))- .foregroundStyle(.secondary)- .padding(.top, 30)- .padding(.bottom, 18)- Divider()- rows+ // Home's rule: no figures until Peel has moved something, so a new install shows no zeros.+ if stats.hasCleaned {+ hero+ Text("Since \(stats.installedOn, format: .dateTime.day().month(.wide).year())")+ .font(.callout.weight(.semibold))+ .foregroundStyle(.secondary)+ .padding(.top, 30)+ .padding(.bottom, 18)+ Divider()+ totals+ } else {+ Text("Nothing moved to the Trash yet")+ .font(.system(.body, design: .rounded, weight: .semibold))+ .foregroundStyle(.secondary)+ .multilineTextAlignment(.center)+ .padding(.horizontal, 20)+ .padding(.vertical, 34)+ }+ updatesMenuBarFound { open(at: $0) }}}@@ -108,7 +119,7 @@ struct MenuBarPanel: View {}@ViewBuilder- private var rows: some View {+ private var totals: some View {// `app.dashed` is the empty slot a removed app leaves.row("app.dashed", stats.appsLabel, stats.appsRemoved.shortCount, amount: stats.appsRemoved)Divider().padding(.leading, Self.wordsInset)@@ -117,7 +128,6 @@ struct MenuBarPanel: View {Divider().padding(.leading, Self.wordsInset)row("internaldrive", "Biggest removal", stats.biggestCleanUp.text, amount: stats.biggestCleanUp.known)}- updates}/// A check finishing while the panel is open adds a whole row to it. The row unfolds from the divider