mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
show default avatar image if contact name starts with + #LINQT-2239
This commit is contained in:
parent
872f60cefc
commit
158ce01bcd
1 changed files with 2 additions and 2 deletions
|
|
@ -146,7 +146,7 @@ Loader{
|
|||
width: height
|
||||
Rectangle {
|
||||
id: initialItem
|
||||
property string initials: mainItem.isConference ? "" : UtilsCpp.getInitials(mainItem.displayNameVal)
|
||||
property string initials: mainItem.isConference || mainItem.displayNameVal[0] === "+" ? "" : UtilsCpp.getInitials(mainItem.displayNameVal)
|
||||
radius: width / 2
|
||||
color: DefaultStyle.main2_200
|
||||
height: stackView.height
|
||||
|
|
@ -165,7 +165,7 @@ Loader{
|
|||
}
|
||||
EffectImage {
|
||||
id: initialImg
|
||||
visible: initialItem.initials === ""
|
||||
visible: initialItem.initials === "" || initialItem.initials[0] === "+"
|
||||
width: stackView.width/2
|
||||
height: width
|
||||
colorizationColor: DefaultStyle.main2_600
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue