mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 22:06:25 +00:00
426c116bac
Use it as import shared 1.0, import shared.controls 1.0 etc instead of import "../../../shared" Closes #3934
33 lines
760 B
QML
33 lines
760 B
QML
import QtQuick 2.12
|
|
import QtQuick.Controls 2.3
|
|
|
|
import utils 1.0
|
|
import "../controls"
|
|
import "../panels"
|
|
import "../"
|
|
import "."
|
|
|
|
// TODO: replace with StatusModal
|
|
ModalPopup {
|
|
id: popup
|
|
//% "Get Status at https://status.im"
|
|
readonly property string getStatusText: qsTrId("get-status-at-https---status-im")
|
|
|
|
//% "Download Status link"
|
|
title: qsTrId("download-status-link")
|
|
height: 156
|
|
|
|
StyledText {
|
|
id: linkText
|
|
text: popup.getStatusText
|
|
}
|
|
|
|
CopyToClipBoardButton {
|
|
anchors.left: linkText.right
|
|
anchors.leftMargin: Style.current.smallPadding
|
|
anchors.verticalCenter: linkText.verticalCenter
|
|
textToCopy: popup.getStatusText.substr(popup.getStatusText.indexOf("https"))
|
|
}
|
|
}
|
|
|