Emojify note and add non-nickname tooltip

This commit is contained in:
Jamie Kyle 2024-04-03 15:41:13 -07:00 committed by GitHub
parent 4d794eaf14
commit b6afa47126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 47 additions and 10 deletions

View file

@ -38,7 +38,8 @@ export function ProfileChangeNotification({
contents={<Emojify text={message} />}
button={
areNicknamesEnabled() &&
changedContact.nicknameGivenName != null && (
(changedContact.nicknameGivenName != null ||
changedContact.nicknameFamilyName != null) && (
<Button
onClick={handleOpenEditNicknameAndNoteModal}
size={ButtonSize.Small}