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
mobile: cleanup
Ammar Ahmede327c92e1af1
diff --git a/apps/mobile/app/hooks/use-app-events.tsx b/apps/mobile/app/hooks/use-app-events.tsxindex 89d82110a..e7101a7e3 100644--- a/apps/mobile/app/hooks/use-app-events.tsx+++ b/apps/mobile/app/hooks/use-app-events.tsx@@ -44,8 +44,7 @@ import RNBootSplash from "react-native-bootsplash";import { checkVersion } from "react-native-check-version";import Config from "react-native-config";import * as RNIap from "react-native-iap";--import { User } from "@notesnook/core/dist/api/user-manager";+import { User } from "@notesnook/core";import { EventManagerSubscription } from "@notesnook/core/dist/utils/event-manager";//@ts-ignoreimport { enabled } from "react-native-privacy-snapshot";diff --git a/apps/mobile/app/services/backup.js b/apps/mobile/app/services/backup.jsindex fe5f8949f..e2a5e3977 100644--- a/apps/mobile/app/services/backup.js+++ b/apps/mobile/app/services/backup.js@@ -149,9 +149,8 @@ async function updateNextBackupTime() {});}/**- *- * @param {boolean} progress- * @param {string} context+ * @param {boolean=} progress+ * @param {string=} context* @returns {Promise<{path?: string, error?: Error}}>*/async function run(progress = false, context) {diff --git a/apps/mobile/app/stores/use-message-store.ts b/apps/mobile/app/stores/use-message-store.tsindex 172fb6ef8..2e48c77d5 100644--- a/apps/mobile/app/stores/use-message-store.ts+++ b/apps/mobile/app/stores/use-message-store.ts@@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public Licensealong with this program. If not, see <http://www.gnu.org/licenses/>.*/-import { User } from "@notesnook/core/dist/api/user-manager";+import { User } from "@notesnook/core";import { Platform } from "react-native";import { getVersion } from "react-native-device-info";import create, { State } from "zustand";