diff --git a/apps/mobile/app/components/sheets/manage-tags/index.js b/apps/mobile/app/components/sheets/manage-tags/index.js index ced92f6a2..4cb5f0e47 100644 --- a/apps/mobile/app/components/sheets/manage-tags/index.js +++ b/apps/mobile/app/components/sheets/manage-tags/index.js @@ -240,7 +240,6 @@ const TagItem = ({ tag, notes, setNotes }) => { Navigation.queueRoutesForUpdate(); }, 1); }; - return ( { : "checkbox-blank-circle-outline" } /> - {"#" + tag.title} + {"#" + tag.alias} ); }; diff --git a/apps/mobile/app/hooks/use-actions.js b/apps/mobile/app/hooks/use-actions.js index 70da564bf..6307cbfae 100644 --- a/apps/mobile/app/hooks/use-actions.js +++ b/apps/mobile/app/hooks/use-actions.js @@ -384,11 +384,12 @@ export const useActions = ({ close = () => null, item }) => { positivePress: async (value) => { if (!value || value === "" || value.trimStart().length == 0) return; await db.tags.rename(item.id, db.tags.sanitize(value)); - setImmediate(() => { + setTimeout(() => { useTagStore.getState().setTags(); useMenuStore.getState().setMenuPins(); Navigation.queueRoutesForUpdate(); - }); + useRelationStore.getState().update(); + }, 1); }, input: true, defaultValue: alias,