Fix empty profile title
If no display name is provided, use user account name.
This commit is contained in:
parent
ba39f51a5e
commit
4832ab50f4
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ Item {
|
|||
}
|
||||
else title
|
||||
height: contentHeight
|
||||
color: Theme.primaryColor
|
||||
color: Theme.highlightColor
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
font.family: Theme.fontFamilyHeading
|
||||
horizontalAlignment: Text.AlignRight
|
||||
|
@ -70,7 +70,7 @@ Item {
|
|||
Label {
|
||||
height: description === "" ? 0 : contentHeight
|
||||
text: description
|
||||
color: Theme.secondaryColor
|
||||
color: Theme.secondaryHighlightColor
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
font.family: Theme.fontFamilyHeading
|
||||
horizontalAlignment: Text.AlignRight
|
||||
|
|
Loading…
Reference in a new issue