Skip to content

Commit b7bf39b

Browse files
committed
Specify text colors for receipt email text field.
1 parent 4543378 commit b7bf39b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ struct POSSendReceiptView: View {
2828
}))
2929

3030
VStack(alignment: .center, spacing: conditionalPadding(8)) {
31-
TextField(Localization.textfieldPlaceholder, text: $textFieldInput)
31+
TextField("",
32+
text: $textFieldInput,
33+
prompt: Text(Localization.textfieldPlaceholder).foregroundColor(.posOnDisabledContainer))
34+
.foregroundStyle(Color.posOnSurface)
3235
.dynamicTypeSize(...DynamicTypeSize.accessibility1)
3336
.keyboardType(.emailAddress)
3437
.textInputAutocapitalization(.never)

0 commit comments

Comments
 (0)