kleine style änderungen
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
@@ -87,6 +87,7 @@ const Settings = () => {
|
||||
alignItems: 'center',
|
||||
},
|
||||
switchContainer: {
|
||||
marginTop: 10,
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
@@ -173,10 +174,12 @@ const Settings = () => {
|
||||
<View>
|
||||
{ /* Wer des löscht werd weggeklagt */}
|
||||
<ThemeText>Heinrich Thaler</ThemeText>
|
||||
<TouchableOpacity onPress={() => handleLinkPress('mailto:Heinrich.Thaler@edvschule-plattling.de')}>
|
||||
<Text style={{ color: colors.primary }}>Heinrich.Thaler@edvschule-plattling.de</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity onPress={() => handleLinkPress('https://www.it-thaler.de')}>
|
||||
<Text style={{ color: colors.primary }}>www.it-thaler.de</Text>
|
||||
</TouchableOpacity>
|
||||
<ThemeText>Juli 2024</ThemeText>
|
||||
{Platform.OS != 'web' && <ThemeText>Version: {Application.nativeApplicationVersion} ({Application.nativeBuildVersion})</ThemeText>}
|
||||
</View>
|
||||
<Image style={styles.logo} source={require('../assets/logo-thaler.png')} />
|
||||
|
||||
Reference in New Issue
Block a user