From 8ea89469ef1a7988a7b3d05716da55e9da680c35 Mon Sep 17 00:00:00 2001 From: Mary <148872143+mary-ext@users.noreply.github.com> Date: Tue, 24 Sep 2024 23:14:15 +0700 Subject: MobX removal take 2 (#5381) * mobx removal take 2 * Actually rm mobx --------- Co-authored-by: Dan Abramov --- src/lib/media/picker.shared.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/media/picker.shared.ts') diff --git a/src/lib/media/picker.shared.ts b/src/lib/media/picker.shared.ts index 9146cd778..b959ce8be 100644 --- a/src/lib/media/picker.shared.ts +++ b/src/lib/media/picker.shared.ts @@ -28,7 +28,7 @@ export async function openPicker(opts?: ImagePickerOptions) { return false }) .map(image => ({ - mime: 'image/jpeg', + mime: image.mimeType || 'image/jpeg', height: image.height, width: image.width, path: image.uri, -- cgit 1.4.1