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: check for updates if update status is clicked
thecodrrfa2c7c3c4620
diff --git a/apps/web/src/components/status-bar/index.js b/apps/web/src/components/status-bar/index.jsindex e4fb5ad2d..4525cb942 100644--- a/apps/web/src/components/status-bar/index.js+++ b/apps/web/src/components/status-bar/index.js@@ -9,6 +9,7 @@ import { hashNavigate, navigate } from "../../navigation";import useAutoUpdater from "../../hooks/use-auto-updater";import downloadUpdate from "../../commands/download-update";import installUpdate from "../../commands/install-update";+import checkForUpdate from "../../commands/check-for-update";function StatusBar() {const user = useUserStore((state) => state.user);@@ -97,6 +98,8 @@ function StatusBar() {downloadUpdate();} else if (updateStatus.type === "completed") {installUpdate();+ } else {+ checkForUpdate();}}}sx={{ alignItems: "center", justifyContent: "center" }}