Pre-allocate vertical space for reactions
This commit is contained in:
parent
227c9146f2
commit
5465d454f5
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue