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

Makes sure style is an array for it to spread

See merge request bloodyhealth/drip!230
This commit is contained in:
bl00dymarie
2019-05-29 10:58:07 +00:00
+1
View File
@@ -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]}