Skip to content

Commit 0e7db67

Browse files
committed
Replace CTA in send receipt view with POSButtonStyle.
1 parent 871a794 commit 0e7db67

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

WooCommerce/Classes/POS/Presentation/Reusable Views/POSSendReceiptView.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,9 @@ struct POSSendReceiptView: View {
7575
}
7676
.frame(maxWidth: .infinity)
7777
})
78+
.buttonStyle(POSButtonStyle(variant: .filled, size: .normal))
7879
.dynamicTypeSize(...DynamicTypeSize.accessibility3)
79-
.padding(conditionalPadding(Constants.buttonPadding))
8080
.frame(maxWidth: .infinity)
81-
.foregroundColor(Color.posOnInverseSurface)
82-
.background(isEmailValid ? Color.posPrimaryButtonBackground : Color.posBackgroundButtonDisabled)
83-
.cornerRadius(Constants.buttonCornerRadius)
84-
.contentShape(Rectangle())
8581
.disabled(isLoading)
8682

8783
Spacer()

0 commit comments

Comments
 (0)