Add text to pair confirmation page

This commit is contained in:
Nicolas Fella 2020-07-17 01:31:16 +02:00
parent a27d684f16
commit cefe6eec14

View file

@ -134,9 +134,18 @@ Kirigami.ScrollablePage
}
}
RowLayout {
Column {
visible: root.currentDevice.hasPairingRequests
anchors.centerIn: parent
spacing: Kirigami.Units.largeSpacing
Kirigami.PlaceholderMessage {
text: i18n("Pair requested")
anchors.horizontalCenter: parent.horizontalCenter
}
RowLayout {
Button {
text: i18nd("kdeconnect-app", "Accept")
icon.name:"dialog-ok"
@ -149,6 +158,7 @@ Kirigami.ScrollablePage
onClicked: root.currentDevice.rejectPairing()
}
}
}
Kirigami.PlaceholderMessage {
visible: !root.currentDevice.isReachable