Skip to content

Commit b3603f1

Browse files
committed
Replace white color usage with posOnPrimary.
1 parent 588295a commit b3603f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

WooCommerce/Classes/POS/Presentation/CardReaderConnection/UI States/Reader Messages/PointOfSaleCardPresentPaymentDisplayReaderMessageMessageView.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ struct PointOfSaleCardPresentPaymentDisplayReaderMessageMessageView: View {
1313

1414
VStack(alignment: .center, spacing: Layout.textSpacing) {
1515
Text(viewModel.title)
16-
.foregroundStyle(.white)
16+
.foregroundColor(.posOnPrimary)
1717
.font(.posBodyLargeRegular())
1818
.matchedGeometryEffect(id: animation.titleTransitionId, in: animation.namespace, properties: .position)
1919

2020
Text(viewModel.message)
2121
.font(.posHeading)
22-
.foregroundStyle(.white)
22+
.foregroundColor(.posOnPrimary)
2323
.accessibilityAddTraits(.isHeader)
2424
.matchedGeometryEffect(id: animation.messageTransitionId, in: animation.namespace, properties: .position)
2525
}
@@ -43,4 +43,5 @@ private extension PointOfSaleCardPresentPaymentDisplayReaderMessageMessageView {
4343
message: "Remove card"),
4444
animation: .init(namespace: namespace)
4545
)
46+
.background(Color.posPrimary)
4647
}

0 commit comments

Comments
 (0)