Skip to content
Snippets Groups Projects
Commit 2d738d06 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

profileview: do not show username if no username

Change-Id: I190a8d72991d75147082297fb7d8e2cabb5afaf9
parent cdcf43cc
No related branches found
No related tags found
No related merge requests found
...@@ -106,7 +106,7 @@ Dialog { ...@@ -106,7 +106,7 @@ Dialog {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
text: qsTr("Username") text: qsTr("Username")
visible: registeredNameText ? (registeredNameText === aliasText ? false : true) : false visible: registeredNameText ? (registeredNameText === idText ? false : true) : false
color: JamiTheme.faddedFontColor color: JamiTheme.faddedFontColor
} }
...@@ -120,7 +120,7 @@ Dialog { ...@@ -120,7 +120,7 @@ Dialog {
font.pointSize: JamiTheme.textFontSize font.pointSize: JamiTheme.textFontSize
text: textMetricsContactDisplayNameText.elidedText text: textMetricsContactDisplayNameText.elidedText
visible: registeredNameText ? (registeredNameText === aliasText ? false : true) : false visible: registeredNameText ? (registeredNameText === idText ? false : true) : false
TextMetrics { TextMetrics {
id: textMetricsContactDisplayNameText id: textMetricsContactDisplayNameText
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment