Use avatar sisze inplace

This commit is contained in:
Jorik Schellekens 2020-07-01 12:28:32 +01:00
parent b1e0b35758
commit 1dd9c1eea3

View file

@ -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}
/>; />;