mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
Deletion fix
This commit is contained in:
@ -152,7 +152,11 @@ export const AuthContextProvider: FC<{ children: ReactNode }> = ({children}) =>
|
||||
|
||||
useEffect(() => {
|
||||
if (!initializing) {
|
||||
SplashScreen.hideAsync();
|
||||
if(auth().currentUser) {
|
||||
setTimeout(() => SplashScreen.hideAsync(), 1000);
|
||||
} else {
|
||||
SplashScreen.hideAsync();
|
||||
}
|
||||
}
|
||||
}, [initializing]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user