invert show/hide controls (#1850)
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -205,7 +205,7 @@ export const getUrlParams = (
|
||||
appPrompt: parser.getFlagParam("appPrompt", true),
|
||||
preload: parser.getFlagParam("preload"),
|
||||
hideHeader: parser.getFlagParam("hideHeader"),
|
||||
showControls: parser.getFlagParam("showControls"),
|
||||
showControls: parser.getFlagParam("showControls", true),
|
||||
hideScreensharing: parser.getFlagParam("hideScreensharing"),
|
||||
e2eEnabled: parser.getFlagParam("enableE2e", true),
|
||||
userId: parser.getParam("userId"),
|
||||
|
||||
@@ -407,8 +407,8 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{!showControls && <div className={styles.buttons}>{buttons}</div>}
|
||||
{!mobile && !hideHeader && !showControls && (
|
||||
{showControls && <div className={styles.buttons}>{buttons}</div>}
|
||||
{!mobile && !hideHeader && showControls && (
|
||||
<LayoutToggle
|
||||
className={styles.layout}
|
||||
layout={layout}
|
||||
@@ -433,7 +433,7 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
/>
|
||||
</LeftNav>
|
||||
<RightNav>
|
||||
{!reducedControls && !showControls && onShareClick !== null && (
|
||||
{!reducedControls && showControls && onShareClick !== null && (
|
||||
<InviteButton onClick={onShareClick} />
|
||||
)}
|
||||
</RightNav>
|
||||
|
||||
Reference in New Issue
Block a user