Pre-allocate vertical space for reactions

This commit is contained in:
Sebastian Wolf 2022-06-08 23:13:34 +02:00
parent 227c9146f2
commit 5465d454f5
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -622,6 +622,7 @@ ListItem {
width: parent.width
asynchronous: true
active: ( chatPage.isChannel && messageViewCount > 0 ) || reactions.length > 0
height: ( ( chatPage.isChannel && messageViewCount > 0 ) || reactions.length > 0 ) ? ( Theme.fontSizeExtraSmall + Theme.paddingSmall ) : 0
sourceComponent: Component {
Label {
text: getInteractionText(messageViewCount, reactions)