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

View File

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