Fix save profile avatar disappearing on save name/bio

This commit is contained in:
Jamie Kyle
2024-02-09 13:14:32 -08:00
committed by GitHub
parent 4a73b48f3f
commit cf9a376df8
5 changed files with 34 additions and 38 deletions

View File

@@ -76,6 +76,16 @@ export type AvatarUpdateType = Readonly<{
newAvatar: Uint8Array | undefined;
}>;
export type AvatarUpdateOptionsType = Readonly<
| {
keepAvatar: false;
avatarUpdate: AvatarUpdateType;
}
| {
keepAvatar: true;
}
>;
const groupIconColors = [
'A180',
'A120',