Small cleanup

This commit is contained in:
Zach Fox 2018-04-27 14:19:05 -07:00
parent ea716f2a1e
commit dbd7d7e2b4

View file

@ -295,10 +295,10 @@ Rectangle {
width: parent.width; width: parent.width;
height: 40; height: 40;
RalewaySemiBold { RalewayRegular {
text: model.appUrl; text: model.appUrl;
// Text size // Text size
size: 18; size: 16;
// Anchors // Anchors
anchors.left: parent.left; anchors.left: parent.left;
anchors.leftMargin: 12; anchors.leftMargin: 12;
@ -589,7 +589,7 @@ Rectangle {
ListView { ListView {
id: purchasesContentsList; id: purchasesContentsList;
visible: ((root.isShowingMyItems && filteredPurchasesModel.count !== 0) || (!root.isShowingMyItems && filteredPurchasesModel.count !== 0)) && !installedAppsList.visible; visible: (root.isShowingMyItems && filteredPurchasesModel.count !== 0) || (!root.isShowingMyItems && filteredPurchasesModel.count !== 0);
clip: true; clip: true;
model: filteredPurchasesModel; model: filteredPurchasesModel;
snapMode: ListView.SnapToItem; snapMode: ListView.SnapToItem;
@ -776,7 +776,7 @@ Rectangle {
Rectangle { Rectangle {
id: updatesAvailableBanner; id: updatesAvailableBanner;
visible: root.numUpdatesAvailable > 0 && !root.isShowingMyItems && !installedAppsContainer.visible; visible: root.numUpdatesAvailable > 0 && !root.isShowingMyItems;
anchors.bottom: parent.bottom; anchors.bottom: parent.bottom;
anchors.left: parent.left; anchors.left: parent.left;
anchors.right: parent.right; anchors.right: parent.right;