From 49cdfb74af8a1eeeae967cbbd29fe6ac07dac97f Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 20 Apr 2026 22:20:23 +0200 Subject: [PATCH] Remove Close button from Settings toolbar on macOS --- Yattee/Views/Settings/SettingsView.swift | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Yattee/Views/Settings/SettingsView.swift b/Yattee/Views/Settings/SettingsView.swift index 777aa6b3..752f3510 100644 --- a/Yattee/Views/Settings/SettingsView.swift +++ b/Yattee/Views/Settings/SettingsView.swift @@ -72,18 +72,6 @@ struct SettingsView: View { } } } - .toolbar { - if showCloseButton { - ToolbarItem(placement: .confirmationAction) { - Button(role: .cancel) { - dismiss() - } label: { - Label(String(localized: "common.close"), systemImage: "xmark") - .labelStyle(.iconOnly) - } - } - } - } } #endif