Skip to content

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

fix promise rejection when click on notification

ammarahm-ed78443adc6821
diff --git a/apps/mobile/src/services/Notifications.ts b/apps/mobile/src/services/Notifications.ts
index 7c985a913..a2e04e856 100644
--- a/apps/mobile/src/services/Notifications.ts
+++ b/apps/mobile/src/services/Notifications.ts
@@ -19,6 +19,7 @@ const CHANNEL_ID = 'com.streetwriters.notesnook';
let pinned = [];
function loadNote(id: string, jump: boolean) {
+ if (!id || id === 'notesnook_note_input') return;
let note = db.notes.note(id).data;
if (!DDS.isTab && jump) {
tabBarRef.current?.goToPage(1);