File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
WooCommerce/Classes/POS/Presentation Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -65,11 +65,9 @@ struct TotalsView: View {
6565 } , label: {
6666 Text ( Localization . cashPaymentButtonTitle)
6767 . font ( POSFontStyle . posBodyEmphasized)
68- . foregroundColor ( . posPrimaryText)
69- . frame ( height: Constants . buttonHeight)
7068 . minimumScaleFactor ( 0.5 )
7169 } )
72- . buttonStyle ( SecondaryButtonStyle ( ) )
70+ . buttonStyle ( POSButtonStyle ( variant : . outlined , size : . normal ) )
7371 . padding ( . horizontal, Constants . buttonHorizontalPadding)
7472 . padding ( . bottom, Constants . cashButtonBottomPadding)
7573 . renderedIf ( viewHelper. shouldShowCollectCashPaymentButton ( orderState: posModel. orderState,
@@ -345,7 +343,6 @@ private extension TotalsView {
345343 enum Constants {
346344 static let pricesIdealWidth : CGFloat = 382
347345 static let verticalSpacing : CGFloat = 56
348- static let buttonHeight : CGFloat = 56
349346 static let buttonHorizontalPadding : CGFloat = 48
350347 static let cashButtonBottomPadding : CGFloat = 16
351348
You can’t perform that action at this time.
0 commit comments