We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd2bf6a commit f1ac8e5Copy full SHA for f1ac8e5
WooCommerce/Classes/ViewRelated/ReusableViews/SwiftUI Components/TitleAndValueRow.swift
@@ -12,9 +12,6 @@ struct TitleAndValueRow: View {
12
13
var body: some View {
14
Button(action: {
15
- guard selectable else {
16
- return
17
- }
18
action()
19
}, label: {
20
HStack {
@@ -35,6 +32,7 @@ struct TitleAndValueRow: View {
35
32
}
36
33
.contentShape(Rectangle())
37
34
})
+ .disabled(!selectable)
38
.frame(minHeight: Constants.minHeight)
39
.padding(.horizontal, Constants.horizontalPadding)
40
0 commit comments