Skip to content

Commit 0ea9791

Browse files
authored
Merge pull request #43974 from bernhardoj/fix/43117-cant-download-video
Fix can't download video
2 parents af9be0a + abb41d6 commit 0ea9791

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type {PopoverMenuItem} from '@components/PopoverMenu';
44
import type {VideoWithOnFullScreenUpdate} from '@components/VideoPlayer/types';
55
import useLocalize from '@hooks/useLocalize';
66
import useNetwork from '@hooks/useNetwork';
7-
import addEncryptedAuthTokenToURL from '@libs/addEncryptedAuthTokenToURL';
87
import fileDownload from '@libs/fileDownload';
98
import CONST from '@src/CONST';
109
import type ChildrenProps from '@src/types/utils/ChildrenProps';
@@ -37,8 +36,7 @@ function VideoPopoverMenuContextProvider({children}: ChildrenProps) {
3736
if (typeof source === 'number' || !source) {
3837
return;
3938
}
40-
const sourceURI = addEncryptedAuthTokenToURL(source.uri);
41-
fileDownload(sourceURI);
39+
fileDownload(source.uri);
4240
}, [videoPopoverMenuPlayerRef]);
4341

4442
const menuItems = useMemo(() => {

0 commit comments

Comments
 (0)