fix #LINQT-1501 missing username display only

This commit is contained in:
Gaelle Braud 2024-12-19 10:30:52 +01:00
parent 29f6d8db62
commit 6377d60c8b

View file

@ -122,7 +122,7 @@ ApplicationWindow {
} }
Text { Text {
Layout.leftMargin: 5 * DefaultStyle.dp Layout.leftMargin: 5 * DefaultStyle.dp
text: modelData.address text: SettingsCpp.onlyDisplaySipUriUsername ? UtilsCpp.getUsername(modelData.address) : modelData.address
font { font {
pixelSize: 14 * DefaultStyle.dp pixelSize: 14 * DefaultStyle.dp
weight: 400 * DefaultStyle.dp weight: 400 * DefaultStyle.dp