Fix empty profil title
If no display name is provided, use user account name.
This commit is contained in:
parent
cc3983260f
commit
eb14c94dc8
1 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,11 @@ Item {
|
|||
}
|
||||
Label {
|
||||
id: ttl
|
||||
text: title
|
||||
text:
|
||||
if (title === "") {
|
||||
description.split('@')[0]
|
||||
}
|
||||
else title
|
||||
height: contentHeight
|
||||
color: Theme.primaryColor
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
|
|
Loading…
Reference in a new issue