fix(CommunitiesPopup): render community description not just member count

This also updates StatusQ as the underlying StatusListItem component wasn't able
to handle multi-line subtitles very well. Also it didn't support tertiaryTitle, which
is needed in this UI.
This commit is contained in:
Pascal Precht 2021-07-23 11:01:09 +02:00 committed by Iuri Matias
parent 79db861d2f
commit 6ad2171390
1 changed files with 7 additions and 3 deletions

View File

@ -91,7 +91,9 @@ StatusModal {
color: Theme.palette.directColor1
}
StatusModalDivider {}
StatusModalDivider {
bottomPadding: 8
}
}
}
@ -115,8 +117,10 @@ StatusModal {
height: visible ? implicitHeight : 0
anchors.horizontalCenter: parent.horizontalCenter
title: name
//% "%1 members"
subTitle: qsTrId("-1-members").arg(nbMembers)
subTitle: description
tertiaryTitle: qsTrId("%1 members").arg(nbMembers)
statusListItemTitle.font.weight: Font.Bold
statusListItemTitle.font.pixelSize: 17
image.source: thumbnailImage
icon.isLetterIdenticon: !!!thumbnailImage
icon.background.color: communityColor