From 254909747e3bd3a6f21a653c53f82550c5625bf6 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 13 Mar 2024 14:54:12 +0000 Subject: mobile: Minor tweaks to the action button to look better --- packages/mobile/components/bookmarks/BookmarkCard.tsx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'packages/mobile/components/bookmarks/BookmarkCard.tsx') diff --git a/packages/mobile/components/bookmarks/BookmarkCard.tsx b/packages/mobile/components/bookmarks/BookmarkCard.tsx index b3ddf302..25947790 100644 --- a/packages/mobile/components/bookmarks/BookmarkCard.tsx +++ b/packages/mobile/components/bookmarks/BookmarkCard.tsx @@ -5,6 +5,7 @@ import { View, Text, Image, ScrollView, Pressable } from "react-native"; import Markdown from "react-native-markdown-display"; import { ActionButton } from "../ui/ActionButton"; +import { Divider } from "../ui/Divider"; import { Skeleton } from "../ui/Skeleton"; import { useToast } from "../ui/Toast"; @@ -79,7 +80,7 @@ function ActionBar({ bookmark }: { bookmark: ZBookmark }) { {(variables ? variables.favourited : bookmark.favourited) ? ( ) : ( - + )} - {bookmark.archived ? : } + {bookmark.archived ? ( + + ) : ( + + )} - + ); @@ -166,7 +171,8 @@ function LinkCard({ bookmark }: { bookmark: ZBookmark }) { {bookmark.content.title || parsedUrl.host} - + + {parsedUrl.host} @@ -181,11 +187,12 @@ function TextCard({ bookmark }: { bookmark: ZBookmark }) { } return ( - + {bookmark.content.text} - + + -- cgit v1.3-1-g0d28