Incremental improvements to header

This commit is contained in:
Evan Hahn 2020-12-11 18:45:14 -06:00 committed by Josh Perez
parent 7af68ff74d
commit 1225d45ade
4 changed files with 16 additions and 20 deletions

View file

@ -12,7 +12,7 @@ import {
} from 'react-contextmenu';
import { Emojify } from './Emojify';
import { Avatar } from '../Avatar';
import { Avatar, AvatarSize } from '../Avatar';
import { InContactsIcon } from '../InContactsIcon';
import { LocalizerType } from '../../types/Util';
@ -194,7 +194,7 @@ export class ConversationHeader extends React.Component<PropsType> {
name={name}
phoneNumber={phoneNumber}
profileName={profileName}
size={28}
size={AvatarSize.THIRTY_TWO}
/>
</span>
);
@ -482,8 +482,8 @@ export class ConversationHeader extends React.Component<PropsType> {
</div>
</div>
{this.renderExpirationLength()}
{this.renderSearchButton()}
{this.renderOutgoingCallButtons()}
{this.renderSearchButton()}
{this.renderMoreButton(triggerId)}
{this.renderMenu(triggerId)}
</div>