diff --git a/app/qml/DevicePage.qml b/app/qml/DevicePage.qml index 21e7ccee8..4a8fb0c6f 100644 --- a/app/qml/DevicePage.qml +++ b/app/qml/DevicePage.qml @@ -116,7 +116,7 @@ Kirigami.ScrollablePage { Kirigami.PlaceholderMessage { text: i18nd("kdeconnect-app", "This device is not paired") anchors.centerIn: parent - visible: root.currentDevice && root.currentDevice.isReachable && !root.currentDevice.isPaired && !root.currentDevice.isPairRequestedByPeer + visible: root.currentDevice && root.currentDevice.isReachable && !root.currentDevice.isPaired && !root.currentDevice.isPairRequestedByPeer && !root.currentDevice.isPairRequested helpfulAction: Kirigami.Action { text: i18nd("kdeconnect-app", "Pair") icon.name:"network-connect" @@ -124,6 +124,15 @@ Kirigami.ScrollablePage { } } + Kirigami.PlaceholderMessage { + text: i18nd("kdeconnect-app", "Pair requested") + anchors.centerIn: parent + visible: root.currentDevice && root.currentDevice.isReachable && root.currentDevice.isPairRequested + QQC2.BusyIndicator { + Layout.alignment: Qt.AlignHCenter + } + } + Kirigami.PlaceholderMessage { text: i18n("Pair requested") visible: root.currentDevice && root.currentDevice.isPairRequestedByPeer