Use same color as avatars for message user names
This commit is contained in:
parent
0df46a0415
commit
33743baa12
|
@ -19,7 +19,7 @@ Row {
|
|||
id: nameLabel
|
||||
text: displayName.value || dict.sender
|
||||
background: Rectangle {color: "#DDD"}
|
||||
color: isOwn ? "teal" : "purple"
|
||||
color: Qt.hsla(Backend.hueFromString(text), 0.22, 0.4, 1)
|
||||
elide: Text.ElideRight
|
||||
maximumLineCount: 1
|
||||
Layout.preferredWidth: contentLabel.width
|
||||
|
|
Loading…
Reference in New Issue
Block a user