fix(StatusChatInfoButton): fix vertical title alignment

do not display the subtitle when it's empty
This commit is contained in:
Lukáš Tinkl 2022-09-20 11:26:49 +02:00 committed by Michał Cieślak
parent 8df06ef463
commit 060b98a74d

View File

@ -143,6 +143,7 @@ Button {
StatusSelectableText {
Layout.fillWidth: implicitWidth + separator.width + pinIcon.width + pinText.width > subtitleRow.width
text: root.subTitle
visible: root.subTitle
color: Theme.palette.baseColor1
font.pixelSize: 12
onLinkActivated: root.linkActivated(link)