Skip to content

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

wait before sync

ammarahm-ed08b9305876ee
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index 658149fa9..28cb457b6 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -454,6 +454,7 @@ export const ActionSheetComponent = ({
) : null;
const onPressSync = async () => {
+ let user = await db.user.get();
if (!user) {
ToastEvent.show(
'You must login to sync',