Fixes to text input colors on android

This commit is contained in:
Paul Frazee 2022-12-20 14:29:50 -06:00
parent abcfc11fe0
commit 0a2c3e6b51
6 changed files with 16 additions and 0 deletions

View file

@ -39,6 +39,7 @@ export const Contacts = ({navIdx, visible, params}: ScreenParams) => {
value={searchText}
style={styles.searchInput}
placeholder="Search"
placeholderTextColor={colors.gray4}
onChangeText={onChangeSearchText}
/>
</View>
@ -79,5 +80,6 @@ const styles = StyleSheet.create({
},
searchInput: {
flex: 1,
color: colors.black,
},
})

View file

@ -58,6 +58,7 @@ export const Search = ({navIdx, visible, params}: ScreenParams) => {
<TextInput
ref={textInput}
placeholder="Type your query here..."
placeholderTextColor={colors.gray4}
selectTextOnFocus
returnKeyType="search"
style={styles.input}
@ -116,6 +117,7 @@ const styles = StyleSheet.create({
input: {
flex: 1,
fontSize: 16,
color: colors.black,
},
outputContainer: {