A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
feat(mobile): Add edit menu item to bookmark card
MohamedBassemeb54bf4432d4
diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsxindex 67448433..461967b4 100644--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx@@ -198,14 +198,16 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) {router.push(`/dashboard/bookmarks/${bookmark.id}/manage_lists`);} else if (nativeEvent.event === "manage_tags") {router.push(`/dashboard/bookmarks/${bookmark.id}/manage_tags`);+ } else if (nativeEvent.event === "edit") {+ router.push(`/dashboard/bookmarks/${bookmark.id}/info`);}}}actions={[{- id: "archive",- title: bookmark.archived ? "Un-archive" : "Archive",+ id: "edit",+ title: "Edit",image: Platform.select({- ios: "folder",+ ios: "pencil",}),},{@@ -222,6 +224,13 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) {ios: "tag",}),},+ {+ id: "archive",+ title: bookmark.archived ? "Un-archive" : "Archive",+ image: Platform.select({+ ios: "folder",+ }),+ },{id: "delete",title: "Delete",