File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Packages/StatusKit/Sources/StatusKit/Row/Subviews Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ struct StatusActionButton: View {
3636 . offset ( x: - 8 )
3737 #endif
3838 . disabled( isDisabled)
39+ . opacity ( isDisabled ? 0.35 : 1 )
3940 . accessibilityElement ( children: . combine)
4041 . accessibilityLabel (
4142 configuration. display. accessibilityLabel (
@@ -63,6 +64,7 @@ struct StatusActionButton: View {
6364 }
6465 }
6566 . disabled ( isQuoteDisabled)
67+ . opacity ( isQuoteDisabled ? 0.35 : 1 )
6668 } label: {
6769 HStack ( spacing: 2 ) {
6870 actionImage ( for: configuration. display)
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ struct StatusRowContextMenu: View {
7272 boostLabel
7373 }
7474 . disabled ( isBoostDisabled)
75+ . opacity ( isBoostDisabled ? 0.35 : 1 )
7576
7677 Button {
7778 Task {
You can’t perform that action at this time.
0 commit comments