fix: font colour for dark mode on input

This commit is contained in:
Lei Nelissen
2023-01-10 22:07:53 +01:00
parent 6d8535e24b
commit 6885ae6216

View File

@@ -35,7 +35,12 @@ function Input({ icon = null, style, testID, ...rest }: InputProps) {
<Gap size={8} /> <Gap size={8} />
</> </>
)} )}
<TextInput {...rest} style={{ margin: 0, padding: 0 }} ref={inputRef} testID={`${testID}-textinput`} /> <TextInput
{...rest}
style={[defaultStyles.text, { margin: 0, padding: 0 }]}
ref={inputRef}
testID={`${testID}-textinput`}
/>
</Container> </Container>
); );
} }