aboutsummaryrefslogtreecommitdiff
path: root/src/mobile/ImageUpload.tsx
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2021-01-21 17:31:47 -0800
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2021-01-21 17:31:47 -0800
commit78dd6b82033961a06dfb3ad3218763fa4c08d761 (patch)
tree85752b8be1cc9bd50ec8a38cfd11e08e4efbebb1 /src/mobile/ImageUpload.tsx
parentf0a5763946d6b717fb745f2216dc1e681e3e0c68 (diff)
parent10b759d2bd09af3a8e8a4effbc8fd2312dd873d2 (diff)
pull
Diffstat (limited to 'src/mobile/ImageUpload.tsx')
-rw-r--r--src/mobile/ImageUpload.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mobile/ImageUpload.tsx b/src/mobile/ImageUpload.tsx
index 65f9e40ff..2183d2172 100644
--- a/src/mobile/ImageUpload.tsx
+++ b/src/mobile/ImageUpload.tsx
@@ -57,7 +57,7 @@ export class Uploader extends React.Component<ImageUploadProps> {
doc = Docs.Create.VideoDocument(path, { _nativeWidth: defaultNativeImageDim, _width: 400, title: name });
// Case 2: File is a PDF document
} else if (file.type === "application/pdf") {
- doc = Docs.Create.PdfDocument(path, { _nativeWidth: defaultNativeImageDim, _width: 400, _fitWidth: true, title: name });
+ doc = Docs.Create.PdfDocument(path, { _nativeWidth: defaultNativeImageDim, _width: 400, title: name });
// Case 3: File is another document type (most likely Image)
} else {
doc = Docs.Create.ImageDocument(path, { _nativeWidth: defaultNativeImageDim, _width: 400, title: name });