Skip to content

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

mobile: always return true from synced

ammarahm-ed7e8ae499798a
diff --git a/apps/mobile/app/hooks/use-actions.js b/apps/mobile/app/hooks/use-actions.js
index 5abd38ab5..50e175508 100644
--- a/apps/mobile/app/hooks/use-actions.js
+++ b/apps/mobile/app/hooks/use-actions.js
@@ -280,6 +280,7 @@ export const useActions = ({ close = () => null, item }) => {
}
const checkNoteSynced = () => {
+ if (!user) return true;
if (item.type !== "note" || item.itemType !== "note") return true;
let isTrash = item.itemType === "note";
if (!isTrash && !db.notes.note(item.id).synced()) {