diff --git a/apps/mobile/src/components/Menu/TagsSection.js b/apps/mobile/src/components/Menu/TagsSection.js index 308a4b895..ef8ffc7ab 100644 --- a/apps/mobile/src/components/Menu/TagsSection.js +++ b/apps/mobile/src/components/Menu/TagsSection.js @@ -95,14 +95,13 @@ export const TagsSection = () => { paddingHorizontal: '10%', }}> - Your Pins + Shortcuts - You have not pinned anything yet. You can pin notebooks, topics - and tags here. + You can add shortcuts to notebooks, topics and tags here. } @@ -123,14 +122,11 @@ const PinItem = ({item, index, onPress}) => { const color = headerTextState?.id === item.id ? colors.accent : colors.pri; const onHeaderStateChange = (event) => { - - if (event?.id === item.id) { - setHeaderTextState(event); - } else { - setHeaderTextState(null); - } - - + if (event?.id === item.id) { + setHeaderTextState(event); + } else { + setHeaderTextState(null); + } }; useEffect(() => { diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.js index fe26713ee..2ba8c59fe 100644 --- a/apps/mobile/src/components/NotebookItem/index.js +++ b/apps/mobile/src/components/NotebookItem/index.js @@ -28,8 +28,8 @@ export const NotebookItem = ({ let columnItems = isTrash ? [] : item.type === 'topic' - ? ['Pin to Menu', 'Unpin from Menu'] - : ['Pin', 'Pin to Menu', 'Unpin from Menu']; + ? ['Add Shortcut to Menu', 'Remove Shortcut from Menu'] + : ['Pin', 'Add Shortcut to Menu', 'Remove Shortcut from Menu']; ActionSheetEvent(item, false, false, rowItems, columnItems, { notebookID: notebookID, diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 7e2b6a360..9cf11c2d8 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -154,8 +154,8 @@ const ActionStrip = ({note, setActionStrip}) => { }, { - title: isPinnedToMenu ? 'Unpin from Menu' : 'Pin to Menu', - icon: isPinnedToMenu ? 'tag-off-outline' : 'tag-outline', + title: isPinnedToMenu ? 'Remove Shortcut from Menu' : 'Add Shortcut to Menu', + icon: isPinnedToMenu ? 'link-variant-remove' : 'link-variant', onPress: async () => { try { if (isPinnedToMenu) { diff --git a/apps/mobile/src/components/TagItem/index.js b/apps/mobile/src/components/TagItem/index.js index 86a1db6aa..662b15484 100644 --- a/apps/mobile/src/components/TagItem/index.js +++ b/apps/mobile/src/components/TagItem/index.js @@ -78,7 +78,7 @@ const TagItem = ({item, index}) => { size={SIZE.xl} onPress={() => { let rowItems = []; - let columnItems = ['Pin to Menu', 'Unpin from Menu']; + let columnItems = ['Add Shortcut to Menu', 'Remove Shortcut from Menu']; ActionSheetEvent(item, false, false, rowItems, columnItems); }} testID={notesnook.ids.tag.menu}