Show sidebar in PiP mode
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
0a8067506f
commit
dc7f6d8286
3 changed files with 15 additions and 3 deletions
|
@ -641,14 +641,15 @@ export default class CallView extends React.Component<IProps, IState> {
|
|||
|
||||
let sidebar;
|
||||
if (
|
||||
(!isOnHold && !transfereeCall && !this.props.pipMode) &&
|
||||
(sidebarShown || isScreensharing)
|
||||
(!isOnHold && !transfereeCall) &&
|
||||
((sidebarShown && this.props.call.type === CallType.Video) || isScreensharing)
|
||||
) {
|
||||
sidebar = (
|
||||
<CallViewSidebar
|
||||
feeds={this.state.secondaryFeeds}
|
||||
call={this.props.call}
|
||||
hideLocalFeeds={isScreensharing && !sidebarShown}
|
||||
pipMode={this.props.pipMode}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue