Skip to content

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

fix menu pins are not refreshed

ammarahm-edc8857a25b488
diff --git a/apps/mobile/src/utils/functions.js b/apps/mobile/src/utils/functions.js
index 66f566ff3..aab9133f4 100644
--- a/apps/mobile/src/utils/functions.js
+++ b/apps/mobile/src/utils/functions.js
@@ -111,6 +111,7 @@ export const deleteItems = async (item) => {
history.selectedItemsList = [];
Navigation.setRoutesToUpdate([Navigation.routeNames.Trash]);
useSelectionStore.getState().clearSelection();
+ useMenuStore.getState().setMenuPins();
useMenuStore.getState().setColorNotes();
};