Update colors, icons, and fonts
This commit is contained in:
parent
28aed8247f
commit
c81c25bb85
225 changed files with 3080 additions and 4594 deletions
|
@ -13,7 +13,7 @@ interface Props {
|
|||
name?: string;
|
||||
phoneNumber?: string;
|
||||
profileName?: string;
|
||||
size: number;
|
||||
size: 28 | 52 | 80;
|
||||
}
|
||||
|
||||
interface State {
|
||||
|
@ -110,7 +110,7 @@ export class Avatar extends React.Component<Props, State> {
|
|||
|
||||
const hasImage = !noteToSelf && avatarPath && !imageBroken;
|
||||
|
||||
if (size !== 28 && size !== 36 && size !== 48 && size !== 80) {
|
||||
if (size !== 28 && size !== 52 && size !== 80) {
|
||||
throw new Error(`Size ${size} is not supported!`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue