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