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
feat: do not show buy dialog on databaseSync
thecodrr5adc73a7d503
diff --git a/apps/web/src/app.js b/apps/web/src/app.jsindex d3ad809a7..a2a59cd05 100644--- a/apps/web/src/app.js+++ b/apps/web/src/app.js@@ -15,7 +15,7 @@ import useMobile from "./utils/use-mobile";import GlobalMenuWrapper from "./components/globalmenuwrapper";import { resetReminders } from "./common/reminders";import { db, isUserPremium } from "./common";-import { EV, EVENTS } from "notes-core/common";+import { CHECK_IDS, EV, EVENTS } from "notes-core/common";import useTablet from "./utils/use-tablet";import { showBuyDialog } from "./components/dialogs/buy-dialog";import Banner from "./components/banner";@@ -84,7 +84,7 @@ function App() {if (isUserPremium()) {return { type, result: true };} else {- await showBuyDialog(type);+ if (type !== CHECK_IDS.databaseSync) await showBuyDialog(type);return { type, result: false };}});diff --git a/apps/web/yarn.lock b/apps/web/yarn.lockindex 35e1c0c89..73c56983f 100644--- a/apps/web/yarn.lock+++ b/apps/web/yarn.lock@@ -8389,7 +8389,7 @@ normalize-url@^4.5.0:"notes-core@git+ssh://[email protected]:streetwriters/notesnook-core.git":version "6.2.1"- resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#26adc8d0c1783ed8f0a45357261c0261f6c08f24"+ resolved "git+ssh://[email protected]:streetwriters/notesnook-core.git#eba6d5ecc18860b2835422f8cce05dfb7270372a"dependencies:fast-sort "^2.0.1"fuzzysearch "^1.0.3"