Commit 6d1b4a31 by G

call the method to hide the splash screen if authentication context is done checking

parent 7e8fdebf
...@@ -22,9 +22,9 @@ const AppMainStackNavigator = () => { ...@@ -22,9 +22,9 @@ const AppMainStackNavigator = () => {
log.info("isAuthenticating"); log.info("isAuthenticating");
return null; return null;
} }
async () => { (async () => {
await SplashScreen.hideAsync(); await SplashScreen.hideAsync();
}; })();
if (!isAuthenticating && !isAuthenticated) { if (!isAuthenticating && !isAuthenticated) {
log.info("Navigating to UserLoginScreen"); log.info("Navigating to UserLoginScreen");
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment