Skip to content

Commit 4a56f84

Browse files
committed
fix: add placeholderTextColor to checkout address inputs
1 parent 7117916 commit 4a56f84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

mobile/src/screens/CheckoutScreen.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,14 @@ export default function CheckoutScreen({ navigation }) {
9191
<View>
9292
<Text style={styles.sectionTitle}>DELIVERY ADDRESS</Text>
9393
<View style={styles.formRow}>
94-
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Full Name *" value={address.name} onChangeText={v => setAddress({ ...address, name: v })} />
95-
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Phone *" value={address.phone} onChangeText={v => setAddress({ ...address, phone: v })} keyboardType="phone-pad" />
94+
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Full Name *" placeholderTextColor={colors.gray} value={address.name} onChangeText={v => setAddress({ ...address, name: v })} />
95+
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Phone *" placeholderTextColor={colors.gray} value={address.phone} onChangeText={v => setAddress({ ...address, phone: v })} keyboardType="phone-pad" />
9696
</View>
97-
<TextInput style={styles.input} placeholder="Street Address *" value={address.street} onChangeText={v => setAddress({ ...address, street: v })} />
97+
<TextInput style={styles.input} placeholder="Street Address *" placeholderTextColor={colors.gray} value={address.street} onChangeText={v => setAddress({ ...address, street: v })} />
9898
<View style={styles.formRow}>
99-
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Pincode *" value={address.pincode} onChangeText={v => setAddress({ ...address, pincode: v })} keyboardType="numeric" />
100-
<TextInput style={[styles.input, { flex: 1 }]} placeholder="City *" value={address.city} onChangeText={v => setAddress({ ...address, city: v })} />
101-
<TextInput style={[styles.input, { flex: 1 }]} placeholder="State *" value={address.state} onChangeText={v => setAddress({ ...address, state: v })} />
99+
<TextInput style={[styles.input, { flex: 1 }]} placeholder="Pincode *" placeholderTextColor={colors.gray} value={address.pincode} onChangeText={v => setAddress({ ...address, pincode: v })} keyboardType="numeric" />
100+
<TextInput style={[styles.input, { flex: 1 }]} placeholder="City *" placeholderTextColor={colors.gray} value={address.city} onChangeText={v => setAddress({ ...address, city: v })} />
101+
<TextInput style={[styles.input, { flex: 1 }]} placeholder="State *" placeholderTextColor={colors.gray} value={address.state} onChangeText={v => setAddress({ ...address, state: v })} />
102102
</View>
103103
<View style={styles.btnRow}>
104104
<TouchableOpacity style={styles.backBtn} onPress={() => setStep(0)}><Text style={styles.backTxt}>BACK</Text></TouchableOpacity>

0 commit comments

Comments
 (0)