@@ -378,14 +385,22 @@ export default class CallView extends React.Component
{
let myClassName;
let fullScreenButton;
- if (this.state.call.type === CallType.Video) {
- fullScreenButton = ;
}
+ let expandButton;
+ if (!this.props.room) {
+ expandButton = ;
+ }
+
const headerControls =
{fullScreenButton}
+ {expandButton}
;
let header: React.ReactNode;