Use avatar sisze inplace
This commit is contained in:
parent
b1e0b35758
commit
1dd9c1eea3
1 changed files with 1 additions and 2 deletions
|
@ -232,10 +232,9 @@ export default class RoomTile2 extends React.Component<IProps, IState> {
|
||||||
'mx_RoomTile2_minimized': this.props.isMinimized,
|
'mx_RoomTile2_minimized': this.props.isMinimized,
|
||||||
});
|
});
|
||||||
|
|
||||||
const avatarSize = 32;
|
|
||||||
const roomAvatar = <DecoratedRoomAvatar
|
const roomAvatar = <DecoratedRoomAvatar
|
||||||
room={this.props.room}
|
room={this.props.room}
|
||||||
avatarSize={avatarSize}
|
avatarSize={32}
|
||||||
tag={this.props.tag}
|
tag={this.props.tag}
|
||||||
displayBadge={this.props.isMinimized}
|
displayBadge={this.props.isMinimized}
|
||||||
/>;
|
/>;
|
||||||
|
|
Loading…
Reference in a new issue