only show the zoom button on video calls
This commit is contained in:
parent
006f0b00c6
commit
5d1ad4d259
|
@ -93,12 +93,6 @@ module.exports = React.createClass({
|
|||
End call
|
||||
</div>
|
||||
);
|
||||
|
||||
zoom_button = (
|
||||
<div className="mx_RoomHeader_button" onClick={this.onFullscreenClick}>
|
||||
<img src="img/zoom.png" title="Fullscreen" alt="Fullscreen" width="32" height="32" style={{ 'marginTop': '3px' }}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
var name = null;
|
||||
|
@ -136,6 +130,14 @@ module.exports = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (activeCall && activeCall.type == "video") {
|
||||
zoom_button = (
|
||||
<div className="mx_RoomHeader_button" onClick={this.onFullscreenClick}>
|
||||
<img src="img/zoom.png" title="Fullscreen" alt="Fullscreen" width="32" height="32" style={{ 'marginTop': '3px' }}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
header =
|
||||
<div className="mx_RoomHeader_wrapper">
|
||||
<div className="mx_RoomHeader_leftRow">
|
||||
|
|
Loading…
Reference in New Issue