Improvements to Avatar rendering

This commit is contained in:
Josh Perez 2021-08-06 17:35:25 -04:00 committed by GitHub
parent 35625f4200
commit 78447a0018
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 61 additions and 44 deletions

View file

@ -416,13 +416,14 @@ export const ProfileEditor = ({
avatarValue={avatarBuffer}
conversationTitle={getFullNameText()}
i18n={i18n}
isEditable
onAvatarLoaded={handleAvatarLoaded}
onClick={() => {
setEditState(EditState.BetterAvatar);
}}
style={{
height: 96,
width: 96,
height: 80,
width: 80,
}}
/>