complated

This commit is contained in:
Samandar Turgunboyev
2026-02-17 10:46:57 +05:00
parent 754f11804a
commit d747c72c8d
71 changed files with 917 additions and 397 deletions

View File

@@ -5,19 +5,36 @@ import { useNotifications } from '@/hooks/useNotifications';
import i18n from '@/i18n/i18n';
import { ProfileDataProvider } from '@/screens/profile/lib/ProfileDataContext';
import { Stack } from 'expo-router';
import { StatusBar } from 'expo-status-bar';
import { I18nextProvider } from 'react-i18next';
import { View } from 'react-native';
import 'react-native-reanimated';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
function AppContent() {
useNotifications();
const insets = useSafeAreaInsets();
return (
<>
{/* iOS status bar fon */}
<View
style={{
height: insets.top,
backgroundColor: '#000',
}}
/>
{/* StatusBar */}
<StatusBar
style="light"
backgroundColor="#000" // Android
/>
<Stack screenOptions={{ headerShown: false }} />
</>
);
}
export default function RootLayout() {
return (
<I18nextProvider i18n={i18n}>