Remove hide header condition (#2493)

This commit is contained in:
Timo
2024-07-25 11:32:05 +02:00
committed by GitHub
parent 80ddb7495d
commit b05c4234b7

View File

@@ -441,7 +441,6 @@ export const InCallView: FC<InCallViewProps> = ({
data-testid="incall_videomute" data-testid="incall_videomute"
/>, />,
); );
if (!reducedControls) { if (!reducedControls) {
if (canScreenshare && !hideScreensharing) { if (canScreenshare && !hideScreensharing) {
buttons.push( buttons.push(
@@ -486,7 +485,7 @@ export const InCallView: FC<InCallViewProps> = ({
</div> </div>
)} )}
{showControls && <div className={styles.buttons}>{buttons}</div>} {showControls && <div className={styles.buttons}>{buttons}</div>}
{!mobile && !hideHeader && showControls && ( {!mobile && showControls && (
<LayoutToggle <LayoutToggle
className={styles.layout} className={styles.layout}
layout={gridMode} layout={gridMode}