From 556eb15fb46ca0de26e799151f86f8e2dd3c44ec Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Mon, 8 Jan 2024 21:21:32 +0100 Subject: [PATCH] Button fixes --- .../StatusKit/Row/Subviews/StatusRowActionsView.swift | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift index 5a2b0db8..80161dc5 100644 --- a/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift +++ b/Packages/StatusKit/Sources/StatusKit/Row/Subviews/StatusRowActionsView.swift @@ -177,6 +177,7 @@ struct StatusRowActionsView: View { .padding(.vertical, 6) } .menuStyle(.button) + .buttonStyle(.borderless) .foregroundStyle(.secondary) .contentShape(Rectangle()) .accessibilityLabel("status.action.context-menu") @@ -226,10 +227,10 @@ struct StatusRowActionsView: View { .contentShape(Rectangle()) } .buttonStyle( - .statusAction( - isOn: action.isOn(dataController: statusDataController), - tintColor: action.tintColor(theme: theme) - ) + .statusAction( + isOn: action.isOn(dataController: statusDataController), + tintColor: action.tintColor(theme: theme) + ) ) .disabled(action == .boost && (viewModel.status.visibility == .direct || viewModel.status.visibility == .priv && viewModel.status.account.id != currentAccount.account?.id))