mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +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';
|
||||
toast.success(msg);
|
||||
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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue