mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 22:11:07 +01:00
Button fixes
This commit is contained in:
parent
8e8713886a
commit
556eb15fb4
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user