summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <[email protected]>2016-11-28 17:53:14 +0100
committerAleix Pol <[email protected]>2016-11-28 17:53:14 +0100
commit5b436f7b5a2f0813fd2fc95fed2560622c2570fe (patch)
tree03a211ae187d7d2a66910f2ce62e8d53f65743e6
parentc86ad98743c4ca8cc78ecb3eb64910c14a649aa9 (diff)
Polish initial load when updating
Reduce changes
-rw-r--r--discover/qml/UpdatesPage.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/discover/qml/UpdatesPage.qml b/discover/qml/UpdatesPage.qml
index d7754c2..63d4383 100644
--- a/discover/qml/UpdatesPage.qml
+++ b/discover/qml/UpdatesPage.qml
@@ -61,7 +61,7 @@ DiscoverPage
Layout.topMargin: Kirigami.Units.smallSpacing
Layout.bottomMargin: Kirigami.Units.smallSpacing
- visible: resourcesUpdatesModel.isProgressing || updateModel.hasUpdates
+ visible: (updateModel.totalUpdatesCount > 0 && resourcesUpdatesModel.isProgressing) || updateModel.hasUpdates
LabelBackground {
text: updateModel.toUpdateCount + " (" + updateModel.updateSize+")"
@@ -236,6 +236,7 @@ DiscoverPage
State {
name: "uptodate"
PropertyChanges { target: page; title: i18nc("@info", "The system is up to date") }
+ PropertyChanges { target: page; footerLabel: i18nc("@info", "No updates") }
},
State {
name: "medium"