status-desktop/ui/imports/shared/popups/InviteFriendsPopup.qml
Lukáš Tinkl 5aec48da35 fix(chat): Download/invite popup small issues
- make the popup centered across the whole window
- fix (and extract) the get/download link to `Constants`
- fix some memleaks

Fixes #11926
2023-08-29 15:19:41 +02:00

24 lines
577 B
QML

import StatusQ.Components 0.1
import StatusQ.Popups 0.1
import utils 1.0
StatusModal {
id: root
property var rootStore
headerSettings.title: qsTr("Download Status link")
height: 156
StatusDescriptionListItem {
subTitle: qsTr("Get Status at %1").arg(Constants.externalStatusLinkWithHttps)
tooltip.text: qsTr("Copied!")
asset.name: "copy"
iconButton.onClicked: {
root.rootStore.copyToClipboard(Constants.downloadLink)
tooltip.visible = !tooltip.visible
}
width: parent.width
}
}