Skip to content
Snippets Groups Projects
Commit 5e32f4d7 authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch 'Bugfix-password-crash' into 'master'

Makes sure style is an array for it to spread

See merge request bloodyhealth/drip!230
parents 2cc5ffb5 8008c8e2
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ import { TextInput } from 'react-native'
import styles from '../styles'
export default function AppTextInput({ style, ...props }) {
if (!Array.isArray(style)) style = [style]
return (
<TextInput
style={[styles.textInputField, ...style]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment