Skip to content

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

fix a crash

ammarahm-ed95f1865ba96b
diff --git a/apps/mobile/src/provider/stores.ts b/apps/mobile/src/provider/stores.ts
index a27b2b6cd..74ca10b57 100644
--- a/apps/mobile/src/provider/stores.ts
+++ b/apps/mobile/src/provider/stores.ts
@@ -170,7 +170,7 @@ export const useSettingStore = create<SettingStore>((set, get) => ({
notesListMode:"normal"
},
fullscreen: false,
- deviceMode: null,
+ deviceMode: "mobile",
dimensions: { width, height },
appLoading: true,
isIntroCompleted: false,