kleine style änderungen

This commit is contained in:
2024-09-15 18:35:08 +02:00
parent 94047882cc
commit c68758cd81
2 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { TouchableOpacity, Text, GestureResponderEvent, ColorValue, Switch, TextInput, View, StyleSheet } from 'react-native';
import { TouchableOpacity, Text, GestureResponderEvent, ColorValue, Switch, TextInput, View, StyleSheet, Platform } from 'react-native';
import { useColors } from './colors';
import { MaterialCommunityIcons } from '@expo/vector-icons';
@@ -101,7 +101,8 @@ export const ThemeTextInput = ({ style, value, disabled, onValueChange, secureTe
flex: 1,
paddingVertical: 10,
paddingRight: 10,
height: 45,
height: 45, ...(Platform.OS === 'web' ? { outlineStyle: 'none' } : {}),
...(Platform.OS === 'web' ? { outlineStyle: 'none' } : {}),
backgroundColor: colors.backPrimary,
color: disabled ? colors.textDisabled : colors.text,
},