rename packagelist to updatelist and fix visible preloader
This commit is contained in:
@@ -9,6 +9,7 @@ Item {
|
||||
|
||||
property int packageCount: 0
|
||||
property int status: 0
|
||||
property bool visiblePreLoader: true
|
||||
property var packages: []
|
||||
signal update()
|
||||
|
||||
@@ -20,15 +21,14 @@ Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
|
||||
Lists.PackageList {
|
||||
Lists.UpdateList {
|
||||
anchors.fill: parent
|
||||
packages: root.packages
|
||||
}
|
||||
|
||||
Components.PreLoader {
|
||||
visible: root.status === ProcessManager.Status.Checking
|
||||
visible: root.visiblePreLoader
|
||||
anchors.fill: parent
|
||||
status: root.status
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user