Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Feb 4, 2025
1 parent 0e25300 commit 5c37900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/VideoPlayer/BaseVideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import VideoPopoverMenu from '@components/VideoPopoverMenu';
import useNetwork from '@hooks/useNetwork';
import useThemeStyles from '@hooks/useThemeStyles';
import addEncryptedAuthTokenToURL from '@libs/addEncryptedAuthTokenToURL';
import * as DeviceCapabilities from '@libs/DeviceCapabilities';
import {canUseTouchScreen as canUseTouchScreenLib} from '@libs/DeviceCapabilities';
import CONST from '@src/CONST';
import shouldReplayVideo from './shouldReplayVideo';
import type {VideoPlayerProps, VideoWithOnFullScreenUpdate} from './types';
Expand Down Expand Up @@ -86,7 +86,7 @@ function BaseVideoPlayer({
const videoPlayerElementParentRef = useRef<View | HTMLDivElement | null>(null);
const videoPlayerElementRef = useRef<View | HTMLDivElement | null>(null);
const sharedVideoPlayerParentRef = useRef<View | HTMLDivElement | null>(null);
const canUseTouchScreen = DeviceCapabilities.canUseTouchScreen();
const canUseTouchScreen = canUseTouchScreenLib();
const isCurrentlyURLSet = currentlyPlayingURL === url;
const isUploading = CONST.ATTACHMENT_LOCAL_URL_PREFIX.some((prefix) => url.startsWith(prefix));
const videoStateRef = useRef<AVPlaybackStatus | null>(null);
Expand Down

0 comments on commit 5c37900

Please sign in to comment.