Skip to content

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

feat: refresh colors and trash on sync

thecodrrca455f819f9e
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js
index c896cae67..c1946c7ac 100644
--- a/apps/web/src/stores/app-store.js
+++ b/apps/web/src/stores/app-store.js
@@ -3,6 +3,7 @@ import { db } from "../common";
import { showPasswordDialog } from "../components/dialogs/passworddialog";
import { store as noteStore } from "./note-store";
import { store as notebookStore } from "./notebook-store";
+import { store as trashStore } from "./trash-store";
function appStore(set, get) {
return {
@@ -18,6 +19,8 @@ function appStore(set, get) {
noteStore.getState().refresh();
notebookStore.getState().refresh();
noteStore.getState().refreshSelectedContext();
+ trashStore.getState().refresh();
+ get().refreshColors();
},
closeSideMenu: function() {
set(state => {
diff --git a/apps/web/yarn.lock b/apps/web/yarn.lock
index 01fdd3598..5aa138ce7 100644
--- a/apps/web/yarn.lock
+++ b/apps/web/yarn.lock
@@ -6905,7 +6905,7 @@ normalize-url@^3.0.0, normalize-url@^3.0.1:
"notes-core@git+ssh://[email protected]:thecodrr/notes-core.git":
version "1.2.0"
- resolved "git+ssh://[email protected]:thecodrr/notes-core.git#0f33ad84b60f4805d2adb9a65f11dd4c2690c315"
+ resolved "git+ssh://[email protected]:thecodrr/notes-core.git#bebbac0c15c0736be26df80e08cc6e7461314026"
dependencies:
fast-sort "^2.0.1"
fuzzysearch "^1.0.3"