* Extended functionalities

* Added different UIs
This commit is contained in:
2026-06-24 21:43:40 +02:00
parent 282f4864c4
commit f15bb7a916
348 changed files with 59057 additions and 498 deletions

View File

@@ -0,0 +1,17 @@
import { Redirect } from 'expo-router';
import { useAuth } from '@/src/context/AuthContext';
import { Screen } from '@/src/components/Screen';
export default function Index() {
const { isAuthenticated, isLoading } = useAuth();
if (isLoading) {
return <Screen loading />;
}
if (isAuthenticated) {
return <Redirect href="/(main)/(tabs)" />;
}
return <Redirect href="/(auth)/login" />;
}