Merge pull request #1028 from amnezia-vpn/feature/copy-mail-button

feature: added 'copy mail' button on about page
This commit is contained in:
pokamest
2024-08-30 15:54:26 +03:00
committed by GitHub

View File

@@ -120,7 +120,7 @@ PageType {
id: mailButton
Layout.fillWidth: true
text: qsTr("Mail")
text: qsTr("support@amnezia.org")
descriptionText: qsTr("For reviews and bug reports")
leftImageSource: "qrc:/images/controls/mail.svg"
@@ -128,6 +128,8 @@ PageType {
parentFlickable: fl
clickedFunction: function() {
GC.copyToClipBoard(text)
PageController.showNotificationMessage(qsTr("Copied"))
}
}