A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix ts errors
ammarahm-ed8633d23d89bf
diff --git a/apps/mobile/src/services/Notifications.ts b/apps/mobile/src/services/Notifications.tsindex 1f5bc8658..838ecedea 100644--- a/apps/mobile/src/services/Notifications.ts+++ b/apps/mobile/src/services/Notifications.ts@@ -16,7 +16,7 @@ import SettingsService from './SettingsService';const NOTIFICATION_TAG = 'notesnook';const CHANNEL_ID = 'com.streetwriters.notesnook';-let pinned = [];+let pinned:PushNotificationDeliveredObject[] = [];function loadNote(id: string, jump: boolean) {if (!id || id === 'notesnook_note_input') return;@@ -125,7 +125,7 @@ function remove(tag: string, id: string) {});}-function pinQuickNote(launch) {+function pinQuickNote(launch:boolean) {get().then(items => {let notif = items.filter(i => i.tag === 'notesnook_note_input');if (notif && launch) {