Fix : couleur text pour le login et du bouton dans le gestionnaire_ressource
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { useRouter , useLocalSearchParams} from "expo-router";
|
import { useRouter , useLocalSearchParams} from "expo-router";
|
||||||
|
import { navigate } from "expo-router/build/global-state/routing";
|
||||||
import React, {useState} from 'react';
|
import React, {useState} from 'react';
|
||||||
import { Button,FlatList,Image, Text, TextInput,View, StyleSheet } from 'react-native';
|
import { Button,FlatList,Image, Text, TextInput,View, StyleSheet } from 'react-native';
|
||||||
|
|
||||||
@@ -68,7 +69,7 @@ export default function GestionnaireRessource() {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<View style={styles.footer}>
|
<View style={styles.footer}>
|
||||||
<Button title="Retour" onPress={() => router.back()} />
|
<Button title="Retour" onPress={() =>router.push('/(tabs)/bonjourFL')} />
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -36,15 +36,18 @@ const LoginScreen: React.FC = () => {
|
|||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
<Text style={styles.title}>Se connecter / S'incrire</Text>
|
<Text style={styles.title}>Se connecter / S'incrire</Text>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.input}
|
style={[styles.input, { color: 'white' }]}
|
||||||
placeholder="Email"
|
placeholder="Email:"
|
||||||
|
placeholderTextColor={'white'}
|
||||||
value={email}
|
value={email}
|
||||||
onChangeText={setEmail}
|
onChangeText={setEmail}
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
|
|
||||||
/>
|
/>
|
||||||
<TextInput
|
<TextInput
|
||||||
style={styles.input}
|
style={[styles.input, { color: 'white' }]}
|
||||||
placeholder="Mot de passe"
|
placeholder="Mot de passe:"
|
||||||
|
placeholderTextColor={'white'}
|
||||||
value={password}
|
value={password}
|
||||||
onChangeText={setPassword}
|
onChangeText={setPassword}
|
||||||
secureTextEntry
|
secureTextEntry
|
||||||
|
|||||||
Reference in New Issue
Block a user