2024-10-15 19:26:12 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Layouts 1.15
|
2024-03-27 21:49:46 +00:00
|
|
|
import SortFilterProxyModel 0.2
|
2021-10-21 08:22:05 +00:00
|
|
|
|
2024-03-27 21:49:46 +00:00
|
|
|
import StatusQ 0.1
|
2021-10-21 08:22:05 +00:00
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Core.Theme 0.1
|
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Controls 0.1
|
2023-03-06 16:46:32 +00:00
|
|
|
import StatusQ.Core.Utils 0.1 as StatusQUtils
|
2021-10-21 08:22:05 +00:00
|
|
|
|
2023-09-20 13:01:37 +00:00
|
|
|
import AppLayouts.Communities.panels 1.0
|
2024-05-22 08:13:39 +00:00
|
|
|
import AppLayouts.Communities.stores 1.0
|
2023-09-20 13:01:37 +00:00
|
|
|
|
2022-07-28 20:56:44 +00:00
|
|
|
import utils 1.0
|
|
|
|
import shared.controls 1.0
|
2024-02-26 02:32:59 +00:00
|
|
|
import shared.views 1.0
|
2024-05-15 09:36:56 +00:00
|
|
|
import shared.popups 1.0
|
2024-05-22 08:13:39 +00:00
|
|
|
import shared.stores 1.0 as SharedStores
|
|
|
|
|
|
|
|
import AppLayouts.Wallet.stores 1.0
|
2022-07-28 20:56:44 +00:00
|
|
|
|
2021-10-21 08:22:05 +00:00
|
|
|
import "../../controls"
|
|
|
|
|
2022-07-28 20:56:44 +00:00
|
|
|
Item {
|
2021-10-21 08:22:05 +00:00
|
|
|
id: root
|
|
|
|
|
2024-05-22 08:13:39 +00:00
|
|
|
required property SharedStores.RootStore rootStore
|
|
|
|
required property RootStore walletRootStore
|
|
|
|
required property CommunitiesStore communitiesStore
|
2024-02-26 02:32:59 +00:00
|
|
|
|
|
|
|
required property var collectible
|
|
|
|
property var activityModel
|
2023-07-17 23:56:40 +00:00
|
|
|
property bool isCollectibleLoading
|
2024-03-27 21:49:46 +00:00
|
|
|
required property string addressFilters
|
2022-11-22 19:31:07 +00:00
|
|
|
|
2023-09-20 13:01:37 +00:00
|
|
|
// Community related token props:
|
2023-09-27 14:03:49 +00:00
|
|
|
readonly property bool isCommunityCollectible: !!collectible ? collectible.communityId !== "" : false
|
2023-09-20 13:01:37 +00:00
|
|
|
readonly property bool isOwnerTokenType: !!collectible ? (collectible.communityPrivilegesLevel === Constants.TokenPrivilegesLevel.Owner) : false
|
|
|
|
readonly property bool isTMasterTokenType: !!collectible ? (collectible.communityPrivilegesLevel === Constants.TokenPrivilegesLevel.TMaster) : false
|
|
|
|
|
2024-03-11 10:08:40 +00:00
|
|
|
readonly property var communityDetails: isCommunityCollectible ? root.communitiesStore.getCommunityDetailsAsJson(collectible.communityId) : null
|
|
|
|
|
2024-03-26 15:00:16 +00:00
|
|
|
QtObject {
|
|
|
|
id: d
|
2024-03-27 21:49:46 +00:00
|
|
|
readonly property string collectibleLink: !!collectible ? root.walletRootStore.getOpenSeaCollectibleUrl(collectible.networkShortName, collectible.contractAddress, collectible.tokenId): ""
|
|
|
|
readonly property string collectionLink: !!collectible ? root.walletRootStore.getOpenSeaCollectionUrl(collectible.networkShortName, collectible.contractAddress): ""
|
|
|
|
readonly property string blockExplorerLink: !!collectible ? root.walletRootStore.getExplorerUrl(collectible.networkShortName, collectible.contractAddress, collectible.tokenId): ""
|
|
|
|
readonly property var addrFilters: root.addressFilters.split(":").map((addr) => addr.toLowerCase())
|
|
|
|
readonly property int imageStackSpacing: 4
|
2024-04-02 20:56:53 +00:00
|
|
|
property bool activityLoading: walletRootStore.tmpActivityController0.status.loadingData
|
2024-03-27 21:49:46 +00:00
|
|
|
|
|
|
|
property Component balanceTag: Component {
|
|
|
|
CollectibleBalanceTag {
|
|
|
|
balance: d.balanceAggregator.value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
property SortFilterProxyModel filteredBalances: SortFilterProxyModel {
|
|
|
|
sourceModel: !!collectible ? collectible.ownership : null
|
|
|
|
filters: [
|
|
|
|
FastExpressionFilter {
|
|
|
|
expression: {
|
|
|
|
d.addrFilters
|
|
|
|
return d.addrFilters.includes(model.accountAddress.toLowerCase())
|
|
|
|
}
|
|
|
|
expectedRoles: ["accountAddress"]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
property SumAggregator balanceAggregator: SumAggregator {
|
|
|
|
model: d.filteredBalances
|
|
|
|
roleName: "balance"
|
|
|
|
}
|
2024-04-02 20:56:53 +00:00
|
|
|
|
|
|
|
function getCurrentTab() {
|
|
|
|
for (let i =0; i< collectiblesDetailsTab.contentChildren.length; i++) {
|
|
|
|
if(collectiblesDetailsTab.contentChildren[i].visible) {
|
|
|
|
return i
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
2024-03-26 15:00:16 +00:00
|
|
|
}
|
|
|
|
|
2021-10-21 08:22:05 +00:00
|
|
|
CollectibleDetailsHeader {
|
|
|
|
id: collectibleHeader
|
2022-07-28 20:56:44 +00:00
|
|
|
anchors.top: parent.top
|
2021-10-21 08:22:05 +00:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2024-03-27 21:49:46 +00:00
|
|
|
collectibleName: !!collectible && !!collectible.name ? collectible.name : qsTr("Unknown")
|
|
|
|
collectibleId: !!collectible ? "#" + collectible.tokenId : ""
|
2024-04-02 08:23:20 +00:00
|
|
|
communityName: !!communityDetails ? communityDetails.name : ""
|
2024-03-27 21:49:46 +00:00
|
|
|
communityId: !!collectible ? collectible.communityId : ""
|
|
|
|
collectionName: !!collectible ? collectible.collectionName : ""
|
|
|
|
communityImage: !!communityDetails ? communityDetails.image : ""
|
|
|
|
networkShortName: !!collectible ? collectible.networkShortName : ""
|
|
|
|
networkColor: !!collectible ?collectible.networkColor : ""
|
|
|
|
networkIconURL: !!collectible ? collectible.networkIconUrl : ""
|
|
|
|
networkExplorerName: !!collectible ? root.walletRootStore.getExplorerNameForNetwork(collectible.networkShortName): ""
|
2024-03-26 15:00:16 +00:00
|
|
|
collectibleLinkEnabled: Utils.getUrlStatus(d.collectibleLink)
|
|
|
|
collectionLinkEnabled: (!!communityDetails && communityDetails.name) || Utils.getUrlStatus(d.collectionLink)
|
|
|
|
explorerLinkEnabled: Utils.getUrlStatus(d.blockExplorerLink)
|
2024-03-11 10:08:40 +00:00
|
|
|
onCollectionTagClicked: {
|
|
|
|
if (root.isCommunityCollectible) {
|
|
|
|
Global.switchToCommunity(collectible.communityId)
|
|
|
|
}
|
2024-03-26 15:00:16 +00:00
|
|
|
else {
|
|
|
|
Global.openLinkWithConfirmation(d.collectionLink, root.walletRootStore.getOpenseaDomainName())
|
|
|
|
}
|
2024-03-11 10:08:40 +00:00
|
|
|
}
|
2024-03-26 15:00:16 +00:00
|
|
|
onOpenCollectibleExternally: Global.openLinkWithConfirmation(d.collectibleLink, root.walletRootStore.getOpenseaDomainName())
|
|
|
|
onOpenCollectibleOnExplorer: Global.openLinkWithConfirmation(d.blockExplorerLink, root.walletRootStore.getExplorerDomain(networkShortName))
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
|
|
|
|
2024-04-02 20:56:53 +00:00
|
|
|
ColumnLayout {
|
2022-11-28 21:05:57 +00:00
|
|
|
id: collectibleBody
|
2021-10-21 08:22:05 +00:00
|
|
|
anchors.top: collectibleHeader.bottom
|
2022-11-28 21:05:57 +00:00
|
|
|
anchors.topMargin: 25
|
2022-07-28 20:56:44 +00:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
|
|
|
|
2024-10-15 19:26:12 +00:00
|
|
|
spacing: Theme.padding
|
2021-10-21 08:22:05 +00:00
|
|
|
|
|
|
|
Row {
|
|
|
|
id: collectibleImageDetails
|
2023-09-20 13:01:37 +00:00
|
|
|
|
2024-03-27 21:49:46 +00:00
|
|
|
readonly property real visibleImageHeight: artwork.height
|
|
|
|
readonly property real visibleImageWidth: artwork.width
|
2023-09-20 13:01:37 +00:00
|
|
|
|
2024-04-02 20:56:53 +00:00
|
|
|
Layout.preferredHeight: collectibleImageDetails.visibleImageHeight
|
|
|
|
Layout.fillWidth: true
|
2021-10-21 08:22:05 +00:00
|
|
|
spacing: 24
|
|
|
|
|
2024-03-27 21:49:46 +00:00
|
|
|
ColumnLayout {
|
|
|
|
id: artwork
|
|
|
|
spacing: 0
|
|
|
|
Repeater {
|
|
|
|
id: repeater
|
2024-04-02 20:56:53 +00:00
|
|
|
model: Math.min(3, d.balanceAggregator.value)
|
2024-03-27 21:49:46 +00:00
|
|
|
Item {
|
|
|
|
Layout.preferredWidth: childrenRect.width
|
|
|
|
Layout.preferredHeight: childrenRect.height
|
|
|
|
Layout.leftMargin: index * d.imageStackSpacing
|
|
|
|
Layout.topMargin: index === 0 ? 0 : -Layout.preferredHeight + d.imageStackSpacing
|
|
|
|
opacity: index === 0 ? 1: 0.4/index
|
|
|
|
// so that the first item remains on top in the stack
|
|
|
|
z: -index
|
|
|
|
Loader {
|
|
|
|
property int modelIndex: index
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
2024-05-15 09:36:56 +00:00
|
|
|
sourceComponent: root.isCollectibleLoading ?
|
|
|
|
collectibleimageComponent:
|
2024-04-02 20:56:53 +00:00
|
|
|
root.isCommunityCollectible && (root.isOwnerTokenType || root.isTMasterTokenType) ?
|
2024-05-15 09:36:56 +00:00
|
|
|
privilegedCollectibleImageComponent:
|
|
|
|
collectibleimageComponent
|
2024-03-27 21:49:46 +00:00
|
|
|
active: root.visible
|
|
|
|
}
|
|
|
|
Loader {
|
|
|
|
anchors.top: parent.top
|
|
|
|
anchors.left: parent.left
|
2024-10-15 19:26:12 +00:00
|
|
|
anchors.margins: Theme.padding
|
2024-03-27 21:49:46 +00:00
|
|
|
sourceComponent: d.balanceTag
|
|
|
|
// only show balance tag on top of the first image in stack
|
|
|
|
active: index === 0 && d.balanceAggregator.value > 1 && root.visible
|
2024-03-30 05:00:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
2022-11-28 21:05:57 +00:00
|
|
|
|
|
|
|
Column {
|
|
|
|
id: collectibleNameAndDescription
|
|
|
|
spacing: 12
|
|
|
|
|
2024-10-15 19:26:12 +00:00
|
|
|
width: parent.width - collectibleImageDetails.visibleImageWidth - Theme.bigPadding
|
2022-11-28 21:05:57 +00:00
|
|
|
|
|
|
|
StatusBaseText {
|
|
|
|
id: collectibleName
|
|
|
|
width: parent.width
|
|
|
|
height: 24
|
|
|
|
|
2024-03-27 21:49:46 +00:00
|
|
|
text: root.isCommunityCollectible && !!communityDetails ? qsTr("Minted by %1").arg(root.communityDetails.name):
|
|
|
|
!!collectible ? collectible.collectionName: ""
|
2022-11-28 21:05:57 +00:00
|
|
|
color: Theme.palette.directColor1
|
|
|
|
font.pixelSize: 17
|
|
|
|
lineHeight: 24
|
2024-03-11 10:08:40 +00:00
|
|
|
lineHeightMode: Text.FixedHeight
|
2022-11-28 21:05:57 +00:00
|
|
|
elide: Text.ElideRight
|
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
}
|
|
|
|
|
2024-03-26 15:00:16 +00:00
|
|
|
StatusBaseText {
|
|
|
|
id: descriptionText
|
2022-11-28 21:05:57 +00:00
|
|
|
width: parent.width
|
|
|
|
height: collectibleImageDetails.height - collectibleName.height - parent.spacing
|
|
|
|
|
2024-03-26 15:00:16 +00:00
|
|
|
clip: true
|
2024-03-27 21:49:46 +00:00
|
|
|
text: !!collectible ? collectible.description : ""
|
2024-03-26 15:00:16 +00:00
|
|
|
textFormat: Text.MarkdownText
|
|
|
|
color: Theme.palette.directColor4
|
|
|
|
font.pixelSize: 15
|
|
|
|
lineHeight: 22
|
|
|
|
lineHeightMode: Text.FixedHeight
|
|
|
|
elide: Text.ElideRight
|
|
|
|
wrapMode: Text.Wrap
|
2022-11-28 21:05:57 +00:00
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-28 20:56:44 +00:00
|
|
|
StatusTabBar {
|
|
|
|
id: collectiblesDetailsTab
|
2024-04-02 20:56:53 +00:00
|
|
|
Layout.fillWidth: true
|
|
|
|
topPadding: 52
|
|
|
|
|
|
|
|
currentIndex: d.getCurrentTab()
|
2021-10-21 08:22:05 +00:00
|
|
|
|
2022-07-28 20:56:44 +00:00
|
|
|
StatusTabButton {
|
|
|
|
text: qsTr("Properties")
|
2024-04-02 20:56:53 +00:00
|
|
|
width: visible ? implicitWidth: 0
|
|
|
|
visible: root.isCommunityCollectible
|
|
|
|
enabled: visible
|
|
|
|
}
|
|
|
|
|
|
|
|
StatusTabButton {
|
|
|
|
text: qsTr("Traits")
|
|
|
|
width: visible ? implicitWidth: 0
|
|
|
|
visible: !root.isCommunityCollectible && !!collectible && collectible.traits.count > 0
|
|
|
|
enabled: visible
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
2024-04-02 20:56:53 +00:00
|
|
|
|
|
|
|
StatusTabButton {
|
|
|
|
text: qsTr("Links")
|
|
|
|
width: visible ? implicitWidth: 0
|
|
|
|
visible: !root.isCommunityCollectible && (!!collectible &&
|
|
|
|
((!!collectible.website && !!collectible.collectionName) ||
|
|
|
|
collectible.twitterHandle))
|
|
|
|
enabled: visible
|
2024-02-26 02:32:59 +00:00
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
|
|
|
|
2022-11-28 21:05:57 +00:00
|
|
|
StatusScrollView {
|
|
|
|
id: scrollView
|
2024-04-02 20:56:53 +00:00
|
|
|
Layout.fillWidth: true
|
|
|
|
Layout.fillHeight: true
|
2023-05-31 20:58:23 +00:00
|
|
|
contentWidth: availableWidth
|
2024-04-02 20:56:53 +00:00
|
|
|
padding: 0
|
2024-02-26 02:32:59 +00:00
|
|
|
|
|
|
|
Loader {
|
|
|
|
id: tabLoader
|
2024-04-02 20:56:53 +00:00
|
|
|
width: scrollView.availableWidth
|
2024-02-26 02:32:59 +00:00
|
|
|
sourceComponent: {
|
|
|
|
switch (collectiblesDetailsTab.currentIndex) {
|
|
|
|
case 0: return traitsView
|
2024-04-02 20:56:53 +00:00
|
|
|
case 1: return traitsView
|
2024-11-15 05:28:30 +00:00
|
|
|
case 2: return linksView
|
2024-02-26 02:32:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: traitsView
|
|
|
|
Flow {
|
|
|
|
spacing: 10
|
|
|
|
Repeater {
|
2024-03-27 21:49:46 +00:00
|
|
|
model: !!collectible ? collectible.traits: null
|
2024-02-26 02:32:59 +00:00
|
|
|
InformationTile {
|
|
|
|
maxWidth: parent.width
|
|
|
|
primaryText: model.traitType
|
|
|
|
secondaryText: model.value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: activityView
|
2024-03-27 21:49:46 +00:00
|
|
|
StatusListView {
|
2024-02-26 02:32:59 +00:00
|
|
|
height: scrollView.availableHeight
|
|
|
|
model: root.activityModel
|
2024-04-02 20:56:53 +00:00
|
|
|
header: ShapeRectangle {
|
|
|
|
width: parent.width
|
|
|
|
height: visible ? 42: 0
|
|
|
|
visible: !root.activityModel.count && !d.activityLoading
|
2024-10-15 19:26:12 +00:00
|
|
|
font.pixelSize: Theme.primaryTextFontSize
|
2024-04-02 20:56:53 +00:00
|
|
|
text: qsTr("Activity will appear here")
|
|
|
|
}
|
2024-02-26 02:32:59 +00:00
|
|
|
delegate: TransactionDelegate {
|
|
|
|
required property var model
|
|
|
|
required property int index
|
2024-10-15 19:26:12 +00:00
|
|
|
width: ListView.view.width
|
2024-02-26 02:32:59 +00:00
|
|
|
modelData: model.activityEntry
|
|
|
|
timeStampText: isModelDataValid ? LocaleUtils.formatRelativeTimestamp(modelData.timestamp * 1000, true) : ""
|
2024-09-24 11:51:22 +00:00
|
|
|
flatNetworks: root.rootStore.flatNetworks
|
|
|
|
currenciesStore: root.rootStore.currencyStore
|
2024-02-26 02:32:59 +00:00
|
|
|
walletRootStore: root.walletRootStore
|
|
|
|
showAllAccounts: root.walletRootStore.showAllAccounts
|
|
|
|
displayValues: true
|
|
|
|
community: isModelDataValid && !!communityId && !!root.communitiesStore ? root.communitiesStore.getCommunityDetailsAsJson(communityId) : null
|
|
|
|
loading: false
|
|
|
|
onClicked: {
|
2024-02-29 14:53:08 +00:00
|
|
|
if (mouse.button === Qt.RightButton) {
|
|
|
|
// TODO: Implement context menu
|
|
|
|
}
|
2024-02-26 02:32:59 +00:00
|
|
|
}
|
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
|
|
|
}
|
2024-04-02 20:56:53 +00:00
|
|
|
|
|
|
|
Component {
|
|
|
|
id: linksView
|
|
|
|
Flow {
|
|
|
|
spacing: 10
|
|
|
|
CollectibleLinksTags {
|
|
|
|
asset.name: !!collectible ? collectible.collectionImageUrl: ""
|
|
|
|
asset.isImage: true
|
|
|
|
primaryText: !!collectible ? collectible.collectionName : ""
|
|
|
|
secondaryText: !!collectible ? collectible.website : ""
|
|
|
|
visible: !!collectible && !!collectible.website && !!collectible.collectionName
|
|
|
|
enabled: !!collectible ? Utils.getUrlStatus(collectible.website): false
|
|
|
|
onClicked: Global.openLinkWithConfirmation(collectible.website, collectible.website)
|
|
|
|
}
|
|
|
|
CollectibleLinksTags {
|
|
|
|
asset.name: "tiny/opensea"
|
|
|
|
primaryText: qsTr("Opensea")
|
|
|
|
secondaryText: d.collectionLink
|
|
|
|
visible: Utils.getUrlStatus(d.collectionLink)
|
|
|
|
onClicked: Global.openLinkWithConfirmation(d.collectionLink, root.walletRootStore.getOpenseaDomainName())
|
|
|
|
}
|
|
|
|
CollectibleLinksTags {
|
|
|
|
asset.name: "xtwitter"
|
|
|
|
primaryText: qsTr("Twitter")
|
|
|
|
secondaryText: !!collectible ? collectible.twitterHandle : ""
|
|
|
|
visible: !!collectible && collectible.twitterHandle
|
|
|
|
onClicked: Global.openLinkWithConfirmation(root.walletRootStore.getTwitterLink(collectible.twitterHandle), Constants.socialLinkPrefixesByType[Constants.socialLinkType.twitter])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-27 21:49:46 +00:00
|
|
|
Component {
|
2024-05-15 09:36:56 +00:00
|
|
|
id: privilegedCollectibleImageComponent
|
2024-03-27 21:49:46 +00:00
|
|
|
// Special artwork representation for community `Owner and Master Token` token types:
|
|
|
|
PrivilegedTokenArtworkPanel {
|
|
|
|
size: PrivilegedTokenArtworkPanel.Size.Large
|
|
|
|
artwork: collectible.imageUrl ?? ""
|
|
|
|
color: !!root.collectible && !!root.communityDetails ? root.communityDetails.color : "transparent"
|
|
|
|
isOwner: root.isOwnerTokenType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Component {
|
2024-05-15 09:36:56 +00:00
|
|
|
id: collectibleimageComponent
|
2024-08-28 13:58:33 +00:00
|
|
|
CollectibleMedia {
|
2024-05-15 09:36:56 +00:00
|
|
|
id: collectibleImage
|
2024-08-28 13:58:33 +00:00
|
|
|
backgroundColor: collectible.backgroundColor
|
|
|
|
isCollectibleLoading: root.isCollectibleLoading
|
|
|
|
isMetadataValid: !collectible.isMetadataValid
|
2024-05-15 09:36:56 +00:00
|
|
|
mediaUrl: collectible.mediaUrl ?? ""
|
|
|
|
mediaType: !!collectible ? (modelIndex > 0 && collectible.mediaType.startsWith("video")) ? "" : collectible.mediaType: ""
|
|
|
|
fallbackImageUrl: collectible.imageUrl
|
|
|
|
manualMaxDimension: 240
|
|
|
|
interactive: !isError && !isEmpty
|
|
|
|
enabled: interactive
|
|
|
|
onImageClicked: (image, plain) => Global.openImagePopup(image, "", plain)
|
|
|
|
onVideoClicked: (url) => Global.openVideoPopup(url)
|
|
|
|
onOpenImageContextMenu: (url, isGif) => Global.openMenu(imageContextMenu, collectibleImage, { imageSource: url, isGif: isGif, isVideo: false })
|
|
|
|
onOpenVideoContextMenu: (url) => Global.openMenu(imageContextMenu, collectibleImage, { imageSource: url, url: url, isVideo: true, isGif: false })
|
|
|
|
|
|
|
|
Component {
|
|
|
|
id: imageContextMenu
|
|
|
|
ImageContextMenu {
|
|
|
|
onClosed: destroy()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-03-27 21:49:46 +00:00
|
|
|
}
|
2021-10-21 08:22:05 +00:00
|
|
|
}
|