Commit 05a19783 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[app] Allow refreshing the device list

The Android app and the KCM allow forcing a refresh, which is useful sometimes. kdeconnect-app should have that too given we want to replace the KCM.
parent 56575471
Pipeline #29990 passed with stage
in 15 minutes and 34 seconds
......@@ -26,6 +26,8 @@ import org.kde.kdeconnect 1.0
id: root
Component {
id: deviceComp
DevicePage {}
......@@ -33,6 +35,18 @@ Kirigami.ScrollablePage
objectName: "FindDevices"
title: i18nd("kdeconnect-app", "Pair")
supportsRefreshing: true
onRefreshingChanged: {
Timer {
id: refreshResetTimer
interval: 1000
onTriggered: root.refreshing = false
Kirigami.PlaceholderMessage {
text: i18nd("kdeconnect-app", "No devices found")
Supports Markdown
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