From c91b706ed06be973f72a285caac3bb342008edb4 Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Fri, 3 May 2024 23:07:42 +0500 Subject: [PATCH] mobile: correctly show mime type --- .../app/components/attachments/actions.tsx | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/apps/mobile/app/components/attachments/actions.tsx b/apps/mobile/app/components/attachments/actions.tsx index e70dc16b9..2c45c8511 100644 --- a/apps/mobile/app/components/attachments/actions.tsx +++ b/apps/mobile/app/components/attachments/actions.tsx @@ -240,36 +240,20 @@ const Actions = ({ style={{ flexDirection: "row", marginBottom: 10, - paddingHorizontal: 12 + paddingHorizontal: 12, + marginTop: 6, + gap: 10 }} > - - {attachment.type} + + {attachment.mimeType} - + {formatBytes(attachment.size)} {notes.length ? ( - + {notes.length} note {notes.length > 1 ? "s" : ""}