Commit b0cdc229 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Make it possible to pull to refresh application lists

parent d5356147
......@@ -55,6 +55,11 @@ DiscoverPage {
}
signal clearSearch()
supportsRefreshing: true
onRefreshingChanged: if (refreshing) {
appsModel.invalidateFilter()
refreshing = false
}
ListView {
id: apps
section.delegate: QQC2.Label {
......
......@@ -100,6 +100,7 @@ DiscoverPage
onRefreshingChanged: {
showPassiveNotification("Fetching updates...")
ResourcesModel.updateAction.triggered()
refreshing = false
}
ListView
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment