From 36afa25dda259d9e51211fe570218556f184490e Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Mon, 28 Dec 2020 16:16:50 +0500 Subject: [PATCH] hide pin action on topics --- apps/mobile/src/components/SelectionWrapper/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/components/SelectionWrapper/index.js b/apps/mobile/src/components/SelectionWrapper/index.js index 30fcbda55..77e5c3e77 100644 --- a/apps/mobile/src/components/SelectionWrapper/index.js +++ b/apps/mobile/src/components/SelectionWrapper/index.js @@ -105,7 +105,7 @@ const ActionStrip = ({note, setActionStrip}) => { const actions = [ { icon: note.pinned ? 'pin-off' : 'pin', - visible: true, + visible:note.type === "note" || note.type === "notebook", onPress: async () => { if (!note.id) return;