From eb54bf4432d4554f33f8811650ad77cc028f31fd Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sun, 24 Aug 2025 16:11:36 +0300
Subject: feat(mobile): Add edit menu item to bookmark card

---
 apps/mobile/components/bookmarks/BookmarkCard.tsx | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

(limited to 'apps/mobile/components/bookmarks/BookmarkCard.tsx')

diff --git a/apps/mobile/components/bookmarks/BookmarkCard.tsx b/apps/mobile/components/bookmarks/BookmarkCard.tsx
index 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",
-- 
cgit v1.2.3-70-g09d2

