File tree 1 file changed +2
-2
lines changed
src/components/AttachmentPicker
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useRef } from 'react' ;
2
2
import type { ValueOf } from 'type-fest' ;
3
3
import type { FileObject } from '@components/AttachmentModal' ;
4
- import * as Browser from '@libs/Browser' ;
4
+ import { isMobileChrome } from '@libs/Browser' ;
5
5
import Visibility from '@libs/Visibility' ;
6
6
import CONST from '@src/CONST' ;
7
7
import type AttachmentPickerProps from './types' ;
@@ -10,7 +10,7 @@ import type AttachmentPickerProps from './types';
10
10
* Returns acceptable FileTypes based on ATTACHMENT_PICKER_TYPE
11
11
*/
12
12
function getAcceptableFileTypes ( type : string ) : string | undefined {
13
- if ( type !== CONST . ATTACHMENT_PICKER_TYPE . IMAGE || Browser . isMobileChrome ( ) ) {
13
+ if ( type !== CONST . ATTACHMENT_PICKER_TYPE . IMAGE || isMobileChrome ( ) ) {
14
14
return ;
15
15
}
16
16
You can’t perform that action at this time.
0 commit comments