From d9e4736547a44638ac7eb0cab875551eb2f819b8 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Mon, 20 Apr 2026 22:22:32 +0200 Subject: [PATCH] Fix customize Home button on macOS --- Yattee/Views/Home/HomeView.swift | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Yattee/Views/Home/HomeView.swift b/Yattee/Views/Home/HomeView.swift index 55dfc3a2..649795e9 100644 --- a/Yattee/Views/Home/HomeView.swift +++ b/Yattee/Views/Home/HomeView.swift @@ -301,6 +301,21 @@ struct HomeView: View { #if !os(tvOS) private var customizeButton: some View { + #if os(macOS) + HStack { + Spacer() + Button { + showingCustomizeHome = true + } label: { + Label(String(localized: "home.customize"), systemImage: "gear") + } + .buttonStyle(.bordered) + .controlSize(.regular) + Spacer() + } + .padding(.top, 16) + .padding(.bottom, 32) + #else Button { showingCustomizeHome = true } label: { @@ -312,9 +327,11 @@ struct HomeView: View { Spacer() } } + .buttonStyle(.plain) .foregroundStyle(.secondary) .padding(.top, 16) .padding(.bottom, 32) + #endif } #endif