Skip to content

Commit

Permalink
Remove hide header condition (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Jul 25, 2024
1 parent 80ddb74 commit b05c423
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/room/InCallView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ export const InCallView: FC<InCallViewProps> = ({
data-testid="incall_videomute"
/>,
);

if (!reducedControls) {
if (canScreenshare && !hideScreensharing) {
buttons.push(
Expand Down Expand Up @@ -486,7 +485,7 @@ export const InCallView: FC<InCallViewProps> = ({
</div>
)}
{showControls && <div className={styles.buttons}>{buttons}</div>}
{!mobile && !hideHeader && showControls && (
{!mobile && showControls && (
<LayoutToggle
className={styles.layout}
layout={gridMode}
Expand Down

0 comments on commit b05c423

Please sign in to comment.