Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

minor cleanup

ammarahm-edb2c9bcc8fc65
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index a480bcf24..99da116c0 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -245,20 +245,18 @@ const App = () => {
}, []);
const loadMainApp = () => {
- console.log('main app loadinggggg');
+
dispatch({type: Actions.ALL});
AppRootView = require('./initializer.root').RootView;
- sleep(100).then(() => SplashScreen.hide());
getUser().then(console.log).catch(console.log);
backupData().then((r) => r);
sleep(500).then(() => (appInit = true));
db.notes.init().then(() => {
dispatch({type: Actions.NOTES});
- console.log('setting loading to false');
dispatch({type: Actions.LOADING, loading: false});
SettingsService.setAppLoaded();
});
-
+ SplashScreen.hide()
//Sentry = require('@sentry/react-native');
// Sentry.init({
// dsn:
@@ -329,7 +327,7 @@ const App = () => {
return (
<SafeAreaProvider>
{intent ? <AppRootView /> : null}
- {init && !intent ? <AppRootView /> : null}
+ {init && !intent ? <AppRootView /> : null}
</SafeAreaProvider>
);
};