mirror of https://github.com/vector-im/riot-web
Use avatar sisze inplace
parent
b1e0b35758
commit
1dd9c1eea3
|
@ -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 New Issue