We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 892041a + 1860f56 commit 77beaa2Copy full SHA for 77beaa2
src/components/AttachmentPicker/index.tsx
@@ -1,5 +1,6 @@
1
import React, {useRef} from 'react';
2
import type {ValueOf} from 'type-fest';
3
+import * as Browser from '@libs/Browser';
4
import Visibility from '@libs/Visibility';
5
import CONST from '@src/CONST';
6
import type AttachmentPickerProps from './types';
@@ -8,7 +9,7 @@ import type AttachmentPickerProps from './types';
8
9
* Returns acceptable FileTypes based on ATTACHMENT_PICKER_TYPE
10
*/
11
function getAcceptableFileTypes(type: string): string | undefined {
- if (type !== CONST.ATTACHMENT_PICKER_TYPE.IMAGE) {
12
+ if (type !== CONST.ATTACHMENT_PICKER_TYPE.IMAGE || Browser.isMobileChrome()) {
13
return;
14
}
15
0 commit comments