Skip to content

Commit

Permalink
Merge pull request #39001 from GandalfGwaihir/issue38841
Browse files Browse the repository at this point in the history
[Fix]: Expand video button isn't highlighted when hovered on
  • Loading branch information
arosiclair authored Mar 27, 2024
2 parents d93cb32 + ee2066e commit f5087ec
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/VideoPlayerPreview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import VideoPlayer from '@components/VideoPlayer';
import IconButton from '@components/VideoPlayer/IconButton';
import {usePlaybackContext} from '@components/VideoPlayerContexts/PlaybackContext';
import useLocalize from '@hooks/useLocalize';
import useStyleUtils from '@hooks/useStyleUtils';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
import useThumbnailDimensions from '@hooks/useThumbnailDimensions';
import useWindowDimensions from '@hooks/useWindowDimensions';
Expand Down Expand Up @@ -41,8 +39,6 @@ type VideoPlayerPreviewProps = {

function VideoPlayerPreview({videoUrl, thumbnailUrl, fileName, videoDimensions, videoDuration, onShowModalPress}: VideoPlayerPreviewProps) {
const styles = useThemeStyles();
const theme = useTheme();
const StyleUtils = useStyleUtils();
const {translate} = useLocalize();
const {currentlyPlayingURL, updateCurrentlyPlayingURL} = usePlaybackContext();
const {isSmallScreenWidth} = useWindowDimensions();
Expand Down Expand Up @@ -92,7 +88,6 @@ function VideoPlayerPreview({videoUrl, thumbnailUrl, fileName, videoDimensions,
<IconButton
src={Expensicons.Expand}
style={[styles.videoExpandButton]}
hoverStyle={StyleUtils.getBackgroundColorStyle(theme.videoPlayerBG)}
tooltipText={translate('videoPlayer.expand')}
onPress={onShowModalPress}
small
Expand Down

0 comments on commit f5087ec

Please sign in to comment.