status-desktop/ui/imports/shared/popups/InviteFriendsPopup.qml
Patryk Osmaczko 35a2dd5244 [Popups]: added destroy() function in all popups by default
Also switched StatusModal to derive from StatusDialog instead
of Popup type

Closes #10149
2023-06-02 14:28:39 +03:00

27 lines
656 B
QML

import StatusQ.Components 0.1
import StatusQ.Popups 0.1
import utils 1.0
StatusModal {
id: root
anchors.centerIn: parent
readonly property string getStatusText: qsTr("Get Status at https://status.im")
property var rootStore
headerSettings.title: qsTr("Download Status link")
height: 156
StatusDescriptionListItem {
subTitle: root.getStatusText
tooltip.text: qsTr("Copy to clipboard")
asset.name: "copy"
iconButton.onClicked: {
root.rootStore.copyToClipboard(Constants.statusLinkPrefix)
tooltip.visible = !tooltip.visible
}
width: parent.width
}
}