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.
POSButtonStyle
1 parent 871a794 commit 0e7db67Copy full SHA for 0e7db67
WooCommerce/Classes/POS/Presentation/Reusable Views/POSSendReceiptView.swift
@@ -75,13 +75,9 @@ struct POSSendReceiptView: View {
75
}
76
.frame(maxWidth: .infinity)
77
})
78
+ .buttonStyle(POSButtonStyle(variant: .filled, size: .normal))
79
.dynamicTypeSize(...DynamicTypeSize.accessibility3)
- .padding(conditionalPadding(Constants.buttonPadding))
80
81
- .foregroundColor(Color.posOnInverseSurface)
82
- .background(isEmailValid ? Color.posPrimaryButtonBackground : Color.posBackgroundButtonDisabled)
83
- .cornerRadius(Constants.buttonCornerRadius)
84
- .contentShape(Rectangle())
85
.disabled(isLoading)
86
87
Spacer()
0 commit comments