Skip to content

Commit

Permalink
fix: the issue for video selection too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-xiaowei committed Dec 9, 2024
1 parent 81640fe commit a185a11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions react-native/src/chat/component/CustomAddFileComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export const CustomAddFileComponent: React.FC<CustomRenderActionsProps> = ({
mediaType: isVideoSupported() ? 'mixed' : 'photo',
includeBase64: false,
includeExtra: true,
assetRepresentationMode: 'current',
}).then(async res => {
const files = await getFiles(res);
if (files.length > 0) {
Expand Down

0 comments on commit a185a11

Please sign in to comment.