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"
/>,
);
if (!reducedControls) {
if (canScreenshare && !hideScreensharing) {
buttons.push(
@@ -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}