mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-04-21 00:32:04 +00:00
authscreen fix
This commit is contained in:
parent
8ff8869f05
commit
2b3069a988
1 changed files with 3 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ const AuthScreen: React.FC = () => {
|
||||||
const msg = mode === 'signin' ? 'Logged in successfully' : 'Sign up successful';
|
const msg = mode === 'signin' ? 'Logged in successfully' : 'Sign up successful';
|
||||||
toast.success(msg);
|
toast.success(msg);
|
||||||
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {});
|
Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success).catch(() => {});
|
||||||
|
|
||||||
|
// Navigate to main tabs after successful authentication
|
||||||
|
navigation.reset({ index: 0, routes: [{ name: 'MainTabs' as never }] } as any);
|
||||||
}
|
}
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue