Quick polish fix to prevent UI flashing

This commit is contained in:
Zach Fox 2018-12-18 17:11:10 -08:00 committed by GitHub
parent dff7804cdc
commit f407042f3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,8 @@ Rectangle {
property int numUpdatesAvailable: 0;
// Style
color: hifi.colors.white;
function getPurchases() {
function
() {
root.activeView = "purchasesMain";
root.installedApps = Commerce.getInstalledApps();
purchasesModel.getFirstPage();
@ -669,6 +670,7 @@ Rectangle {
lightboxPopup.titleText = '"' + msg.itemName + '" Sent to Trash';
lightboxPopup.button1text = "OK";
lightboxPopup.button1method = function() {
root.purchasesReceived = false;
lightboxPopup.visible = false;
getPurchases();
}