Fix customize Home button on macOS

This commit is contained in:
Arkadiusz Fal
2026-04-20 22:22:32 +02:00
parent 49cdfb74af
commit d9e4736547

View File

@@ -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