Skip to content

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

fix tag count not update when remove tag

ammarahm-ed12514bed0989
diff --git a/apps/mobile/src/components/ActionSheetComponent/index.js b/apps/mobile/src/components/ActionSheetComponent/index.js
index 1b82284a8..1a42f3907 100644
--- a/apps/mobile/src/components/ActionSheetComponent/index.js
+++ b/apps/mobile/src/components/ActionSheetComponent/index.js
@@ -378,6 +378,7 @@ export const ActionSheetComponent = ({
.note(note.id)
.untag(oldProps.tags[oldProps.tags.indexOf(tag)]);
localRefresh(oldProps.type);
+ dispatch({type: ACTIONS.TAGS});
} catch (e) {
localRefresh(oldProps.type);
}