Fixed #59 : Consistant channel avatar bg
This commit is contained in:
parent
e95a859ee9
commit
d7e3e70430
3 changed files with 5 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ function ChannelViewHeader({ roomId }) {
|
|||
|
||||
return (
|
||||
<Header>
|
||||
<Avatar imageSrc={avatarSrc} text={roomName.slice(0, 1)} bgColor={colorMXID(roomName)} size="small" />
|
||||
<Avatar imageSrc={avatarSrc} text={roomName.slice(0, 1)} bgColor={colorMXID(roomId)} size="small" />
|
||||
<TitleWrapper>
|
||||
<Text variant="h2">{roomName}</Text>
|
||||
{ typeof roomTopic !== 'undefined' && <p title={roomTopic} className="text text-b3">{roomTopic}</p>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue