From 08dee282aabc9b367a89353533928899a4904cd0 Mon Sep 17 00:00:00 2001 From: Alvie Stoddard Date: Sat, 15 Aug 2026 15:10:27 -0700 Subject: [PATCH] Add icons to the bar's overflow menu Settings, Clear History, About, and Quit had no icons, unlike every other menu in the app. Matches the existing convention with SF Symbols. --- Sources/Pesty/UI/BarView.swift | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Sources/Pesty/UI/BarView.swift b/Sources/Pesty/UI/BarView.swift index 87dcd77..9d2f93e 100644 --- a/Sources/Pesty/UI/BarView.swift +++ b/Sources/Pesty/UI/BarView.swift @@ -106,11 +106,19 @@ struct BarView: View { private var moreMenu: some View { Menu { - Button("Settings…") { AppController.shared.showSettings() } - Button("Clear History") { store.clearHistory() } + Button { AppController.shared.showSettings() } label: { + Label("Settings…", systemImage: "gearshape") + } + Button { store.clearHistory() } label: { + Label("Clear History", systemImage: "trash") + } Divider() - Button("About Pesty") { AppController.shared.showAbout() } - Button("Quit Pesty") { NSApp.terminate(nil) } + Button { AppController.shared.showAbout() } label: { + Label("About Pesty", systemImage: "info.circle") + } + Button { NSApp.terminate(nil) } label: { + Label("Quit Pesty", systemImage: "power") + } } label: { Image(systemName: "ellipsis") .font(.system(size: 15, weight: .semibold))