Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: correctly show mime type

Ammar Ahmedc91b706ed06b
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
}}
>
- <Paragraph
- size={SIZE.xs}
- style={{
- marginRight: 10
- }}
- color={colors.secondary.paragraph}
- >
- {attachment.type}
+ <Paragraph size={SIZE.xs} color={colors.secondary.paragraph}>
+ {attachment.mimeType}
</Paragraph>
- <Paragraph
- style={{
- marginRight: 10
- }}
- size={SIZE.xs}
- color={colors.secondary.paragraph}
- >
+ <Paragraph size={SIZE.xs} color={colors.secondary.paragraph}>
{formatBytes(attachment.size)}
</Paragraph>
{notes.length ? (
- <Paragraph
- style={{
- marginRight: 10
- }}
- size={SIZE.xs}
- color={colors.secondary.paragraph}
- >
+ <Paragraph size={SIZE.xs} color={colors.secondary.paragraph}>
{notes.length} note
{notes.length > 1 ? "s" : ""}
</Paragraph>