diff --git a/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx b/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx index 9742c613de2f..0958ec148c3d 100644 --- a/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx +++ b/src/components/VideoPlayerContexts/VideoPopoverMenuContext.tsx @@ -4,7 +4,6 @@ import type {PopoverMenuItem} from '@components/PopoverMenu'; import type {VideoWithOnFullScreenUpdate} from '@components/VideoPlayer/types'; import useLocalize from '@hooks/useLocalize'; import useNetwork from '@hooks/useNetwork'; -import addEncryptedAuthTokenToURL from '@libs/addEncryptedAuthTokenToURL'; import fileDownload from '@libs/fileDownload'; import CONST from '@src/CONST'; import type ChildrenProps from '@src/types/utils/ChildrenProps'; @@ -37,8 +36,7 @@ function VideoPopoverMenuContextProvider({children}: ChildrenProps) { if (typeof source === 'number' || !source) { return; } - const sourceURI = addEncryptedAuthTokenToURL(source.uri); - fileDownload(sourceURI); + fileDownload(source.uri); }, [videoPopoverMenuPlayerRef]); const menuItems = useMemo(() => {