From 27453300782a1bade030277c021d4961061e9c69 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 23 Nov 2024 23:21:03 +0000
Subject: feat(mobile): Add support for managing tags from mobile

---
 apps/mobile/components/bookmarks/BookmarkCard.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)

(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 df5aa666..13d639c9 100644
--- a/apps/mobile/components/bookmarks/BookmarkCard.tsx
+++ b/apps/mobile/components/bookmarks/BookmarkCard.tsx
@@ -103,6 +103,8 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) {
             });
           } else if (nativeEvent.event === "manage_list") {
             router.push(`/dashboard/bookmarks/${bookmark.id}/manage_lists`);
+          } else if (nativeEvent.event === "manage_tags") {
+            router.push(`/dashboard/bookmarks/${bookmark.id}/manage_tags`);
           }
         }}
         actions={[
@@ -130,6 +132,13 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) {
               ios: "list",
             }),
           },
+          {
+            id: "manage_tags",
+            title: "Manage Tags",
+            image: Platform.select({
+              ios: "tag",
+            }),
+          },
         ]}
         shouldOpenOnLongPress={false}
       >
-- 
cgit v1.2.3-70-g09d2

