v1.7.11/add paramount and imdb tb

This commit is contained in:
2021-04-28 13:56:36 -04:00
parent b5dec1aefb
commit 4b438e65fe
26 changed files with 75 additions and 25 deletions
+16 -16
View File
@@ -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"