Skip to content

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

fix: delete button not showing in actionsheet in trash for notebook items

ammarahm-edd4ac79140dde
diff --git a/apps/mobile/src/components/NotebookItem/index.js b/apps/mobile/src/components/NotebookItem/index.js
index 14c67424a..8142dc091 100644
--- a/apps/mobile/src/components/NotebookItem/index.js
+++ b/apps/mobile/src/components/NotebookItem/index.js
@@ -25,8 +25,8 @@ export const NotebookItem = ({item, isTopic = false, notebookID, isTrash}) => {
let rowItems =
item.type === 'topic'
? ['Edit Topic', 'Add Shortcut', 'Delete']
- : ['Edit Notebook', 'Pin', 'Add Shortcut', 'Delete'];
- rowItems = isTrash ? ['Restore', 'Remove'] : rowItems;
+ : ['Edit Notebook', 'Pin', 'Add Shortcut', 'Delete',];
+ rowItems = isTrash ? ['Restore', 'PermDelete'] : rowItems;
ActionSheetEvent(item, false, false, rowItems, {
notebookID: notebookID,