chore(InviteFriendsToCommunityPopup): Adjust search behavior
This commit is contained in:
parent
6fcb533b68
commit
c0e4d70f0a
|
@ -80,6 +80,8 @@ SplitView {
|
|||
modal: false
|
||||
anchors.centerIn: parent
|
||||
|
||||
closePolicy: Popup.NoAutoClose
|
||||
|
||||
community: ({
|
||||
id: "communityId",
|
||||
name: "community-name"
|
||||
|
|
|
@ -74,7 +74,7 @@ StatusStackModal {
|
|||
objectName: "InviteFriendsToCommunityPopup_SendButton"
|
||||
implicitHeight: d.footerButtonsHeight
|
||||
enabled: root.pubKeys.length > 0
|
||||
text: qsTr("Send Invites")
|
||||
text: qsTr("Send %n invite(s)", "", root.pubKeys.length)
|
||||
onClicked: {
|
||||
d.sendInvites(root.pubKeys, root.inviteMessage);
|
||||
root.close();
|
||||
|
|
|
@ -57,9 +57,6 @@ Item {
|
|||
root.hideCommunityMembers
|
||||
root.communityId
|
||||
|
||||
if (root.pubKeys.indexOf(model.pubKey) > -1)
|
||||
return true
|
||||
|
||||
if (!model.isContact || model.isBlocked)
|
||||
return false
|
||||
|
||||
|
|
Loading…
Reference in New Issue