mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
88c09b3941
Setting signer logic and computing fees. AC messages for different transfer ownership states. Declining ownership logic. Added `CommunityTokensStore.qml` stub. Removed deprecated property. Issue #11964
24 lines
1000 B
QML
24 lines
1000 B
QML
|
|
import QtQuick 2.12
|
|
import utils 1.0
|
|
|
|
QtObject {
|
|
id: root
|
|
readonly property var ownedCollectibles: Global.appIsReady ? walletSection.collectiblesController.model : null
|
|
|
|
readonly property var detailedCollectible: Global.appIsReady ? walletSection.collectibleDetailsController.detailedEntry : null
|
|
readonly property var detailedCollectibleStatus: Global.appIsReady ? walletSection.collectibleDetailsController.status : null
|
|
readonly property bool isDetailedCollectibleLoading: Global.appIsReady ? walletSection.collectibleDetailsController.isDetailedEntryLoading : true
|
|
|
|
function fetchMoreCollectibles() {
|
|
if (!root.ownedCollectibles.hasMore
|
|
|| root.ownedCollectibes.isFetching)
|
|
return
|
|
walletSection.collectiblesController.loadMoreItems()
|
|
}
|
|
|
|
function getDetailedCollectible(chainId, contractAddress, tokenId) {
|
|
walletSection.collectibleDetailsController.getDetailedCollectible(chainId, contractAddress, tokenId)
|
|
}
|
|
}
|