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
|
else title
|
||||||
height: contentHeight
|
height: contentHeight
|
||||||
color: Theme.primaryColor
|
color: Theme.highlightColor
|
||||||
font.pixelSize: Theme.fontSizeLarge
|
font.pixelSize: Theme.fontSizeLarge
|
||||||
font.family: Theme.fontFamilyHeading
|
font.family: Theme.fontFamilyHeading
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
|
@ -70,7 +70,7 @@ Item {
|
||||||
Label {
|
Label {
|
||||||
height: description === "" ? 0 : contentHeight
|
height: description === "" ? 0 : contentHeight
|
||||||
text: description
|
text: description
|
||||||
color: Theme.secondaryColor
|
color: Theme.secondaryHighlightColor
|
||||||
font.pixelSize: Theme.fontSizeSmall
|
font.pixelSize: Theme.fontSizeSmall
|
||||||
font.family: Theme.fontFamilyHeading
|
font.family: Theme.fontFamilyHeading
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
|
|
Loading…
Reference in a new issue