mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
|
End call
|
||||||
</div>
|
</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;
|
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 =
|
header =
|
||||||
<div className="mx_RoomHeader_wrapper">
|
<div className="mx_RoomHeader_wrapper">
|
||||||
<div className="mx_RoomHeader_leftRow">
|
<div className="mx_RoomHeader_leftRow">
|
||||||
|
Loading…
Reference in New Issue
Block a user