Merge pull request #118 from jgibbon/feature/copy-chat-invite-link
Remove clipboard workaround
This commit is contained in:
commit
11a1018ad9
1 changed files with 1 additions and 12 deletions
|
@ -400,20 +400,9 @@ Page {
|
|||
icon.source: "image://theme/icon-m-clipboard"
|
||||
anchors.verticalCenter: inviteLinkItem.verticalCenter
|
||||
onClicked: {
|
||||
inviteLinkField.selectAll();
|
||||
inviteLinkField.copy();
|
||||
inviteLinkField.select(0,0);
|
||||
Clipboard.text = groupFullInformation.invite_link
|
||||
infoNotification.show(qsTr("The Invite Link has been copied to the clipboard."));
|
||||
}
|
||||
TextField {
|
||||
id: inviteLinkField
|
||||
width: 0
|
||||
height: 0
|
||||
text: groupFullInformation.invite_link ? groupFullInformation.invite_link : ""
|
||||
visible: false
|
||||
readOnly: true
|
||||
opacity: 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue