mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Update to new design for avatars: individual/group icons/colors
And two initials.
This commit is contained in:
@@ -25,9 +25,6 @@
|
||||
this.contactView = null;
|
||||
}
|
||||
|
||||
const avatar = this.model.getAvatar();
|
||||
const avatarPath = avatar && avatar.url;
|
||||
const color = avatar && avatar.color;
|
||||
const isMe = this.ourNumber === this.model.id;
|
||||
|
||||
this.contactView = new Whisper.ReactWrapperView({
|
||||
@@ -35,8 +32,8 @@
|
||||
Component: window.Signal.Components.ContactListItem,
|
||||
props: {
|
||||
isMe,
|
||||
color,
|
||||
avatarPath,
|
||||
color: this.model.getColor(),
|
||||
avatarPath: this.model.getAvatarPath(),
|
||||
phoneNumber: this.model.getNumber(),
|
||||
name: this.model.getName(),
|
||||
profileName: this.model.getProfileName(),
|
||||
|
||||
Reference in New Issue
Block a user