Adding some <Emojify/> that were missing
This commit is contained in:
parent
2cfa4b72da
commit
4f1613e82e
2 changed files with 7 additions and 3 deletions
|
@ -9,6 +9,7 @@ import { Avatar } from './Avatar';
|
|||
import { useRestoreFocus } from '../hooks/useRestoreFocus';
|
||||
|
||||
import type { LocalizerType, ThemeType } from '../types/Util';
|
||||
import { Emojify } from './conversation/Emojify';
|
||||
|
||||
export type Props = {
|
||||
readonly i18n: LocalizerType;
|
||||
|
@ -59,7 +60,7 @@ export const AvatarPopup = (props: Props): JSX.Element => {
|
|||
<Avatar {...props} size={52} />
|
||||
<div className="module-avatar-popup__profile__text">
|
||||
<div className="module-avatar-popup__profile__name">
|
||||
{profileName || title}
|
||||
<Emojify text={profileName || title} />
|
||||
</div>
|
||||
{shouldShowNumber ? (
|
||||
<div className="module-avatar-popup__profile__number">
|
||||
|
|
|
@ -39,6 +39,7 @@ import { Spinner } from './Spinner';
|
|||
import { UsernameSaveState } from '../state/ducks/conversationsEnums';
|
||||
import { MAX_USERNAME, MIN_USERNAME } from '../types/Username';
|
||||
import { isWhitespace, trim } from '../util/whitespaceStringUtil';
|
||||
import { Emojify } from './conversation/Emojify';
|
||||
|
||||
export enum EditState {
|
||||
None = 'None',
|
||||
|
@ -736,7 +737,7 @@ export const ProfileEditor = ({
|
|||
icon={
|
||||
<i className="ProfileEditor__icon--container ProfileEditor__icon ProfileEditor__icon--name" />
|
||||
}
|
||||
label={getFullNameText()}
|
||||
label={<Emojify text={getFullNameText()} />}
|
||||
onClick={() => {
|
||||
setEditState(EditState.ProfileName);
|
||||
}}
|
||||
|
@ -786,7 +787,9 @@ export const ProfileEditor = ({
|
|||
<i className="ProfileEditor__icon--container ProfileEditor__icon ProfileEditor__icon--bio" />
|
||||
)
|
||||
}
|
||||
label={fullBio.aboutText || i18n('ProfileEditor--about')}
|
||||
label={
|
||||
<Emojify text={fullBio.aboutText || i18n('ProfileEditor--about')} />
|
||||
}
|
||||
onClick={() => {
|
||||
setEditState(EditState.Bio);
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue