fix with stackview

This commit is contained in:
echo 2025-11-26 03:10:39 +01:00
parent c038a54f2e
commit 06237579f0
2 changed files with 327 additions and 321 deletions

View File

@ -10,7 +10,7 @@ import {
TextInput, TextInput,
Platform, Platform,
} from 'react-native'; } from 'react-native';
import { useRouter } from 'expo-router'; import { useRouter, Stack } from 'expo-router';
import { useAuth } from '@clerk/clerk-expo'; import { useAuth } from '@clerk/clerk-expo';
import { Ionicons } from '@expo/vector-icons'; import { Ionicons } from '@expo/vector-icons';
import { LinearGradient } from 'expo-linear-gradient'; import { LinearGradient } from 'expo-linear-gradient';
@ -156,6 +156,8 @@ export default function FitnessProfileScreen() {
} }
return ( return (
<>
<Stack.Screen options={{ headerShown: false }} />
<View style={styles.container}> <View style={styles.container}>
{/* Header */} {/* Header */}
<LinearGradient colors={theme.gradients.primary} style={styles.header}> <LinearGradient colors={theme.gradients.primary} style={styles.header}>
@ -378,6 +380,7 @@ export default function FitnessProfileScreen() {
</TouchableOpacity> </TouchableOpacity>
</View> </View>
</View> </View>
</>
); );
} }

View File

@ -9,7 +9,7 @@ import {
Alert, Alert,
Platform, Platform,
} from 'react-native'; } from 'react-native';
import { useRouter } from 'expo-router'; import { useRouter, Stack } from 'expo-router';
import { useUser } from '@clerk/clerk-expo'; import { useUser } from '@clerk/clerk-expo';
import { Ionicons } from '@expo/vector-icons'; import { Ionicons } from '@expo/vector-icons';
import { LinearGradient } from 'expo-linear-gradient'; import { LinearGradient } from 'expo-linear-gradient';
@ -53,6 +53,8 @@ export default function PersonalDetailsScreen() {
}; };
return ( return (
<>
<Stack.Screen options={{ headerShown: false }} />
<View style={styles.container}> <View style={styles.container}>
{/* Header */} {/* Header */}
<LinearGradient <LinearGradient
@ -156,6 +158,7 @@ export default function PersonalDetailsScreen() {
</TouchableOpacity> </TouchableOpacity>
</View> </View>
</View> </View>
</>
); );
} }