Skip to content

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

fix import error

ammarahm-ed5d0c28cb6316
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index 1832dca40..113ae436f 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -30,6 +30,7 @@ import {
} from './src/services/Message';
import Navigation from './src/services/Navigation';
import PremiumService from './src/services/PremiumService';
+import SettingsService from './src/services/SettingsService';
import Sync from './src/services/Sync';
import {editing} from './src/utils';
import {COLOR_SCHEME} from './src/utils/Colors';
@@ -52,7 +53,6 @@ import {getNote} from './src/views/Editor/Functions';
const {ReceiveSharingIntent} = NativeModules;
let AppRootView = require('./initializer.root').RootView;
-let SettingsService = null;
let Sentry = null;
let appIsInitialized = false;
let intentOnAppLoadProcessed = false;
@@ -171,7 +171,6 @@ const App = () => {
}, []);
useEffect(() => {
- SettingsService = require('./src/services/SettingsService').default;
SettingsService.init();
dispatch({
type: Actions.DEVICE_MODE,