Skip to content

Commit 2bf41d4

Browse files
committed
Update error and detail font in cash/receipt views.
1 parent 962ff6a commit 2bf41d4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

WooCommerce/Classes/POS/Presentation/PointOfSaleCollectCashView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ struct PointOfSaleCollectCashView: View {
5757

5858
if let changeDue = changeDueMessage {
5959
Text(changeDue)
60-
.font(.posBodyLargeRegular())
60+
.font(.posBodySmallRegular())
6161
.foregroundColor(.posOnSurfaceVariantHighest)
6262
}
6363

6464
if let errorMessage = errorMessage {
6565
Text(errorMessage)
66-
.font(POSFontStyle.posBodyLargeRegular())
67-
.foregroundColor(.red)
66+
.font(POSFontStyle.posBodySmallRegular())
67+
.foregroundColor(.posError)
6868
.padding(.bottom, Constants.errorMessagePadding)
6969
}
7070

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ struct POSSendReceiptView: View {
5555

5656
if let errorMessage = errorMessage {
5757
Text(errorMessage)
58-
.font(POSFontStyle.posBodyLargeRegular())
59-
.foregroundColor(.red)
58+
.font(POSFontStyle.posBodySmallRegular())
59+
.foregroundColor(.posError)
6060
.padding(.bottom, Constants.errorMessagePadding)
6161
}
6262

0 commit comments

Comments
 (0)