Commit fe2f3ed7 authored by Simen Kristoffersen's avatar Simen Kristoffersen
Browse files

Hotfix - ui

- Lagt til mørkere farge for placeholderen
til inputs i login/register-formet
parent c84626f3
import React from 'react';
import { Controller, useFormContext } from 'react-hook-form';
import { StyleSheet, Text, TextInput, useWindowDimensions, View } from 'react-native';
import { useThemeColor } from './Themed';
interface CustomInputProps {
error: boolean;
......@@ -31,7 +32,6 @@ export default function CustomInput({
backgroundColor: 'white',
width: '100%',
minHeight: 30,
borderColor: '#e8e8e8',
borderWidth: 1,
borderRadius: 5,
......@@ -60,9 +60,9 @@ export default function CustomInput({
rules={{ required: required, validate: (value) => true }}
render={({ field: { onChange, onBlur, value } }) => (
<TextInput
placeholderTextColor='#6c6c6c'
secureTextEntry={secureTextEntry}
onChangeText={onChange}
onBlur={onBlur}
value={value}
placeholder={placeholder}
style={styles.input}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment