Show your preferred badge in the left pane and avatar popup

This commit is contained in:
Evan Hahn 2021-11-08 10:29:54 -06:00 committed by GitHub
parent f02b1ebce2
commit 7de340a104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 59 additions and 3 deletions

View file

@ -11,6 +11,7 @@ import enMessages from '../../_locales/en/messages.json';
import type { PropsType } from './MainHeader';
import { MainHeader } from './MainHeader';
import { getDefaultConversation } from '../test-both/helpers/getDefaultConversation';
import { ThemeType } from '../types/Util';
const i18n = setupI18n('en', enMessages);
@ -26,6 +27,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
searchConversation: overrideProps.searchConversation,
selectedConversation: undefined,
startSearchCounter: 0,
theme: ThemeType.light,
phoneNumber: optionalText('phoneNumber', overrideProps.phoneNumber),
title: requiredText('title', overrideProps.title),