Add schedule and requests screens with workdays fetching and navigation

This commit is contained in:
2025-07-28 00:43:07 +02:00
parent 60fdb02c9d
commit bfee90a6fc
6 changed files with 471 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ export default function Index() {
(async () => {
const savedEmail = await SecureStore.getItemAsync('email');
const savedPassword = await SecureStore.getItemAsync('password');
console.log('Mentett email:', savedEmail, 'Mentett password:', savedPassword);
if (savedEmail && savedPassword) {
setUsername(savedEmail);
setPassword(savedPassword);
@@ -69,7 +70,7 @@ export default function Index() {
ToastAndroid.show('Sikeres automatikus bejelentkezés', ToastAndroid.SHORT);
} else {
// iOS: custom toast helyett Alert
Alert.alert('Sikeres automatikus bejelentkezés');
console.log('Sikeres automatikus bejelentkezés');
}
}
router.replace('/profile');