Modify local audio and video muted icon style
@@ -13,7 +13,6 @@ class LocalVideoView extends React.Component {
render = () => {
const { id, label, audioMuted, videoMuted } = this.props;
- let allHide = !audioMuted && !videoMuted;
return (
<div className="local-video-layout">
<div className="local-video-container">
@@ -29,10 +28,10 @@ class LocalVideoView extends React.Component {
/>
<div className="local-video-icon-layout">
{
- allHide ? "" : (audioMuted ? <MicrophoneOffIcon size={18} color="white"/> : <MicrophoneIcon size={18} color="white"/> )
+ audioMuted ? <MicrophoneOffIcon size={18} color="white"/> : ""
}
{
- allHide ? "" : (videoMuted ? <VideocamOffIcon size={18} color="white"/> : <VideoIcon size={18} color="white"/>)
+ videoMuted ? <VideocamOffIcon size={18} color="white"/> :""
}
</div>
