mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix(CommunityColumnView): fix tooltip orientation and plural
This commit is contained in:
parent
c800cbec44
commit
010877e9b3
@ -55,9 +55,7 @@ Item {
|
||||
id: communityHeader
|
||||
objectName: "communityHeaderButton"
|
||||
title: communityData.name
|
||||
subTitle: communityData.members.count <= 1 ?
|
||||
qsTr("1 Member") :
|
||||
qsTr("%1 Members").arg(communityData.members.count)
|
||||
subTitle: qsTr("%n Member(s)", "", communityData.members.count)
|
||||
asset.name: communityData.image
|
||||
asset.color: communityData.color
|
||||
asset.isImage: true
|
||||
@ -91,6 +89,8 @@ Item {
|
||||
StatusToolTip {
|
||||
text: qsTr("Start chat")
|
||||
visible: parent.hovered
|
||||
orientation: StatusToolTip.Orientation.Bottom
|
||||
y: parent.height + 12
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user