Add UI for displaying room avatars full size
Change the onClick action on the RoomAvatar inside RoomHeader so that it brings up a lightbox with the full-size avatar.
This commit is contained in:
parent
1aadaa3cc5
commit
6a918861bb
2 changed files with 19 additions and 4 deletions
|
@ -327,9 +327,8 @@ module.exports = React.createClass({
|
|||
);
|
||||
} else if (this.props.room || (this.props.oobData && this.props.oobData.name)) {
|
||||
roomAvatar = (
|
||||
<div onClick={this.props.onSettingsClick}>
|
||||
<RoomAvatar room={this.props.room} width={48} height={48} oobData={this.props.oobData} />
|
||||
</div>
|
||||
<RoomAvatar room={this.props.room} width={48} height={48} oobData={this.props.oobData}
|
||||
viewAvatarOnClick={true} />
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue