diff options
Diffstat (limited to 'apps/mobile')
| -rw-r--r-- | apps/mobile/components/bookmarks/BookmarkCard.tsx | 15 |
1 files changed, 12 insertions, 3 deletions
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", }), }, { @@ -223,6 +225,13 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) { }), }, { + id: "archive", + title: bookmark.archived ? "Un-archive" : "Archive", + image: Platform.select({ + ios: "folder", + }), + }, + { id: "delete", title: "Delete", attributes: { |
