mirror of
https://github.com/lubosz/overte.git
synced 2025-04-19 17:03:43 +02:00
Initial app support
This commit is contained in:
parent
c4e9c76258
commit
11f897beb0
2 changed files with 6 additions and 2 deletions
|
@ -530,7 +530,7 @@ Rectangle {
|
|||
// "Buy" button
|
||||
HifiControlsUit.Button {
|
||||
id: buyButton;
|
||||
visible: !(root.itemType === "avatar" && viewInMyPurchasesButton.visible)
|
||||
visible: !((root.itemType === "avatar" || root.itemType === "app") && viewInMyPurchasesButton.visible)
|
||||
enabled: (root.balanceAfterPurchase >= 0 && ownershipStatusReceived && balanceReceived) || (!root.isCertified);
|
||||
color: viewInMyPurchasesButton.visible ? hifi.buttons.white : hifi.buttons.blue;
|
||||
colorScheme: hifi.colorSchemes.light;
|
||||
|
|
|
@ -550,7 +550,11 @@ var selectionDisplay = null; // for gridTool.js to ignore
|
|||
break;
|
||||
case 'checkout_rezClicked':
|
||||
case 'purchases_rezClicked':
|
||||
rezEntity(message.itemHref, message.itemType);
|
||||
if (message.itemType === "app") {
|
||||
|
||||
} else {
|
||||
rezEntity(message.itemHref, message.itemType);
|
||||
}
|
||||
break;
|
||||
case 'header_marketplaceImageClicked':
|
||||
case 'purchases_backClicked':
|
||||
|
|
Loading…
Reference in a new issue