auto-commit for d103a794-82a0-42a0-b5ce-cb6b6c5e0801

This commit is contained in:
emergent-agent-e1
2025-11-09 16:00:40 +00:00
parent 1f3f2a66c6
commit 4f41d7ba43
+9 -9
View File
@@ -64,7 +64,7 @@ export default function AuthScreen({ navigation }: any) {
<View style={styles.header}> <View style={styles.header}>
<Text style={styles.title}>{isSignIn ? 'Welcome Back' : 'Create Account'}</Text> <Text style={styles.title}>{isSignIn ? 'Welcome Back' : 'Create Account'}</Text>
<Text style={styles.subtitle}> <Text style={styles.subtitle}>
{isSignIn ? i18n.t('signIn') : i18n.t('signUp')} {isSignIn ? t('signIn') : t('signUp')}
</Text> </Text>
</View> </View>
@@ -73,7 +73,7 @@ export default function AuthScreen({ navigation }: any) {
<> <>
<View style={styles.row}> <View style={styles.row}>
<View style={[styles.inputGroup, { flex: 1, marginRight: 8 }]}> <View style={[styles.inputGroup, { flex: 1, marginRight: 8 }]}>
<Text style={styles.label}>{i18n.t('firstName')} *</Text> <Text style={styles.label}>{t('firstName')} *</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="John" placeholder="John"
@@ -82,7 +82,7 @@ export default function AuthScreen({ navigation }: any) {
/> />
</View> </View>
<View style={[styles.inputGroup, { flex: 1, marginLeft: 8 }]}> <View style={[styles.inputGroup, { flex: 1, marginLeft: 8 }]}>
<Text style={styles.label}>{i18n.t('lastName')} *</Text> <Text style={styles.label}>{t('lastName')} *</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="Doe" placeholder="Doe"
@@ -93,7 +93,7 @@ export default function AuthScreen({ navigation }: any) {
</View> </View>
<View style={styles.inputGroup}> <View style={styles.inputGroup}>
<Text style={styles.label}>{i18n.t('phone')} *</Text> <Text style={styles.label}>{t('phone')} *</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="+1234567890" placeholder="+1234567890"
@@ -106,7 +106,7 @@ export default function AuthScreen({ navigation }: any) {
)} )}
<View style={styles.inputGroup}> <View style={styles.inputGroup}>
<Text style={styles.label}>{i18n.t('email')} *</Text> <Text style={styles.label}>{t('email')} *</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="your@email.com" placeholder="your@email.com"
@@ -118,7 +118,7 @@ export default function AuthScreen({ navigation }: any) {
</View> </View>
<View style={styles.inputGroup}> <View style={styles.inputGroup}>
<Text style={styles.label}>{i18n.t('password')} *</Text> <Text style={styles.label}>{t('password')} *</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="••••••••" placeholder="••••••••"
@@ -130,7 +130,7 @@ export default function AuthScreen({ navigation }: any) {
{!isSignIn && ( {!isSignIn && (
<View style={styles.inputGroup}> <View style={styles.inputGroup}>
<Text style={styles.label}>{i18n.t('referralCode')}</Text> <Text style={styles.label}>{t('referralCode')}</Text>
<TextInput <TextInput
style={styles.input} style={styles.input}
placeholder="Enter referral code" placeholder="Enter referral code"
@@ -149,7 +149,7 @@ export default function AuthScreen({ navigation }: any) {
<ActivityIndicator color="#FFF" /> <ActivityIndicator color="#FFF" />
) : ( ) : (
<Text style={styles.authButtonText}> <Text style={styles.authButtonText}>
{isSignIn ? i18n.t('signIn') : i18n.t('signUp')} {isSignIn ? t('signIn') : t('signUp')}
</Text> </Text>
)} )}
</TouchableOpacity> </TouchableOpacity>
@@ -160,7 +160,7 @@ export default function AuthScreen({ navigation }: any) {
> >
<Text style={styles.switchText}> <Text style={styles.switchText}>
{isSignIn ? "Don't have an account? " : 'Already have an account? '} {isSignIn ? "Don't have an account? " : 'Already have an account? '}
<Text style={styles.switchTextBold}>{isSignIn ? i18n.t('signUp') : i18n.t('signIn')}</Text> <Text style={styles.switchTextBold}>{isSignIn ? t('signUp') : t('signIn')}</Text>
</Text> </Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>