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:16:04 +02:00 committed by GitHub
parent 4a03433ccb
commit a51acf9499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ Item {
id: ttl id: ttl
text: text:
if (title === "") { if (title === "") {
description.split('')[0] description.split('@')[0]
} }
else title else title
height: contentHeight height: contentHeight