mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 11:37:48 +00:00
fix: still show menu to toggle self view if disableLocalVideoFlip (#10751)
* fix: still show menu to toggle self view if disableLocalVideoFlip * fixed lint issues
This commit is contained in:
@@ -173,9 +173,11 @@ class LocalVideoMenuTriggerButton extends Component<Props> {
|
||||
hidden = { false }
|
||||
inDrawer = { _overflowDrawer }>
|
||||
<ContextMenuItemGroup>
|
||||
<FlipLocalVideoButton
|
||||
className = { _overflowDrawer ? classes.flipText : '' }
|
||||
onClick = { hidePopover } />
|
||||
{ _showLocalVideoFlipButton
|
||||
&& <FlipLocalVideoButton
|
||||
className = { _overflowDrawer ? classes.flipText : '' }
|
||||
onClick = { hidePopover } />
|
||||
}
|
||||
{ _showHideSelfViewButton
|
||||
&& <HideSelfViewVideoButton
|
||||
className = { _overflowDrawer ? classes.flipText : '' }
|
||||
@@ -189,7 +191,7 @@ class LocalVideoMenuTriggerButton extends Component<Props> {
|
||||
);
|
||||
|
||||
return (
|
||||
isMobileBrowser() || _showLocalVideoFlipButton
|
||||
isMobileBrowser() || _showLocalVideoFlipButton || _showHideSelfViewButton
|
||||
? <Popover
|
||||
content = { content }
|
||||
id = 'local-video-menu-trigger'
|
||||
|
||||
Reference in New Issue
Block a user