Skip to content

Commit

Permalink
Merge pull request #45379 from nkdengineer/fix/44379
Browse files Browse the repository at this point in the history
fix: Attachment - Press enter fullscreen mode in video player by Tab
  • Loading branch information
MonilBhavsar authored Oct 22, 2024
2 parents eba273e + 0c14b7e commit f1e94da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/VideoPlayer/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Icon from '@components/Icon';
import PressableWithFeedback from '@components/Pressable/PressableWithFeedback';
import Tooltip from '@components/Tooltip';
import useThemeStyles from '@hooks/useThemeStyles';
import CONST from '@src/CONST';
import type IconAsset from '@src/types/utils/IconAsset';

type IconButtonProps = {
Expand All @@ -29,6 +30,7 @@ function IconButton({src, fill = 'white', onPress, style, hoverStyle, tooltipTex
onPress={onPress}
style={[styles.videoIconButton, style]}
hoverStyle={[styles.videoIconButtonHovered, hoverStyle]}
role={CONST.ROLE.BUTTON}
>
<Icon
src={src}
Expand Down

0 comments on commit f1e94da

Please sign in to comment.