status-desktop/ui/imports/shared/popups/InviteFriendsPopup.qml

29 lines
724 B
QML
Raw Normal View History

import StatusQ.Components 0.1
import StatusQ.Popups 0.1
import utils 1.0
2020-07-09 15:21:45 +00:00
StatusModal {
id: root
anchors.centerIn: parent
2020-07-16 15:20:29 +00:00
//% "Get Status at https://status.im"
readonly property string getStatusText: qsTrId("get-status-at-https---status-im")
2020-07-09 15:21:45 +00:00
property var rootStore
2020-07-16 15:20:29 +00:00
//% "Download Status link"
header.title: qsTrId("download-status-link")
2020-07-09 15:21:45 +00:00
height: 156
StatusDescriptionListItem {
subTitle: root.getStatusText
tooltip.text: qsTr("Copy to clipboard")
icon.name: "copy"
iconButton.onClicked: {
root.rootStore.copyToClipboard(Constants.statusLinkPrefix)
tooltip.visible = !tooltip.visible
}
width: parent.width
2020-07-09 15:21:45 +00:00
}
}