v1.7.11/add paramount and imdb tb
This commit is contained in:
+16
-16
@@ -1036,8 +1036,8 @@ export default class Chat extends Component {
|
||||
title={
|
||||
onCall
|
||||
? usingVideo
|
||||
? "Stop Video"
|
||||
: "Start Video"
|
||||
? "Video is On"
|
||||
: "Video is Off"
|
||||
: "Join Video Call"
|
||||
}
|
||||
>
|
||||
@@ -1047,9 +1047,9 @@ export default class Chat extends Component {
|
||||
? () => this.handleVideo()
|
||||
: () => this.handlePhoneCall(true)
|
||||
}
|
||||
color={usingVideo ? "primary" : "secondary"}
|
||||
color={((onCall && usingVideo) || !onCall) ? "secondary" : "primary"}
|
||||
>
|
||||
{usingVideo ? <VideocamOffRounded /> : <VideocamRounded />}
|
||||
{((onCall && usingVideo) || !onCall)? <VideocamRounded /> : <VideocamOffRounded />}
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
)}
|
||||
@@ -1071,18 +1071,7 @@ export default class Chat extends Component {
|
||||
</Tooltip>
|
||||
)}
|
||||
{!gif && !newMessage && onCall && !muted ? (
|
||||
<Tooltip title="Mute Mic" placement="top">
|
||||
<IconButton
|
||||
className="icon-button"
|
||||
disabled={callActionPending}
|
||||
onClick={this.handleMute}
|
||||
color="primary"
|
||||
>
|
||||
<MicOff />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
) : !gif && !newMessage && onCall && muted ? (
|
||||
<Tooltip title="Unmute Mic" placement="top">
|
||||
<Tooltip title="Mic is On" placement="top">
|
||||
<IconButton
|
||||
className="icon-button"
|
||||
disabled={callActionPending}
|
||||
@@ -1092,6 +1081,17 @@ export default class Chat extends Component {
|
||||
<MicOn />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
) : !gif && !newMessage && onCall && muted ? (
|
||||
<Tooltip title="Mic is Off" placement="top">
|
||||
<IconButton
|
||||
className="icon-button"
|
||||
disabled={callActionPending}
|
||||
onClick={this.handleMute}
|
||||
color="primary"
|
||||
>
|
||||
<MicOff />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
) : null}
|
||||
<TextField
|
||||
color="secondary"
|
||||
|
||||
Reference in New Issue
Block a user