Fix empty profile title

If no display name is provided, use user account name.
This commit is contained in:
molan-git 2020-05-04 10:24:30 +02:00 committed by GitHub
parent ba39f51a5e
commit 4832ab50f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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