From fd4a99678cd222941cc66de5d7fcd5f7615f375d Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 24 Nov 2024 16:03:45 +0000 Subject: deps(mobile): Upgrade to Expo 52 (#692) * fix(mobile): Sharing bookmark modal * WIP: Upgrade to 52 * post ugprade fixes * more fixes * fix padding in tabbar --- apps/mobile/app/sharing.tsx | 35 ++++++++++------------------------- 1 file changed, 10 insertions(+), 25 deletions(-) (limited to 'apps/mobile/app/sharing.tsx') diff --git a/apps/mobile/app/sharing.tsx b/apps/mobile/app/sharing.tsx index 3551aea9..e2e1823b 100644 --- a/apps/mobile/app/sharing.tsx +++ b/apps/mobile/app/sharing.tsx @@ -52,7 +52,7 @@ function SaveBookmark({ setMode }: { setMode: (mode: Mode) => void }) { } } else if (!isPending && shareIntent?.files) { uploadAsset({ - type: shareIntent.files[0].type, + type: shareIntent.files[0].mimeType, name: shareIntent.files[0].fileName ?? "", uri: shareIntent.files[0].path, }); @@ -96,30 +96,15 @@ export default function Sharing() { {mode.type === "alreadyExists" ? "Already Hoarded!" : "Hoarded!"} - -