From a51acf949969b0a58d8f3cc3ac85dcfeee53151e Mon Sep 17 00:00:00 2001 From: molan-git <59296158+molan-git@users.noreply.github.com> Date: Mon, 4 May 2020 10:16:04 +0200 Subject: [PATCH] Fix empty profile title If no display name is provided, use user account name. --- qml/pages/components/ProfileHeader.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/components/ProfileHeader.qml b/qml/pages/components/ProfileHeader.qml index 72208f7..d7c087d 100644 --- a/qml/pages/components/ProfileHeader.qml +++ b/qml/pages/components/ProfileHeader.qml @@ -56,7 +56,7 @@ Item { id: ttl text: if (title === "") { - description.split('')[0] + description.split('@')[0] } else title height: contentHeight