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:
parent
79db861d2f
commit
6ad2171390
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue