mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
hide pin action on topics
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user