Fix feeds misbehaving
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
84070bf0ca
commit
e431f41e11
2 changed files with 21 additions and 7 deletions
|
@ -151,7 +151,10 @@ export default class VideoFeed extends React.Component<IProps, IState> {
|
|||
|
||||
if (this.state.videoMuted) {
|
||||
const member = this.props.feed.getMember();
|
||||
const avatarSize = this.props.pipMode ? 76 : 160;
|
||||
let avatarSize;
|
||||
if (this.props.pipMode) avatarSize = 76;
|
||||
else if (!this.props.primary) avatarSize = 34;
|
||||
else avatarSize = 160;
|
||||
|
||||
return (
|
||||
<div className={classnames(videoClasses)} >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue