Skip to content

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

check orientation sooner

ammarahm-ed7a3abe2ba71c
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index cf1517220..0441055ce 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -103,7 +103,7 @@ const loadMainApp = () => {
initialize();
}
};
-
+checkOrientation();
const App = () => {
const [, dispatch] = useTracked();
const setVerifyUser = useUserStore(state => state.setVerifyUser);
@@ -113,7 +113,6 @@ const App = () => {
useMessageStore.getState().setAnnouncement();
(async () => {
try {
- checkOrientation();
await SettingsService.init();
if (
SettingsService.get().appLockMode &&