Commit cefe6eec authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Add text to pair confirmation page

parent a27d684f
Pipeline #27455 passed with stage
in 5 minutes and 29 seconds
......@@ -134,19 +134,29 @@ Kirigami.ScrollablePage
}
}
RowLayout {
Column {
visible: root.currentDevice.hasPairingRequests
anchors.centerIn: parent
Button {
text: i18nd("kdeconnect-app", "Accept")
icon.name:"dialog-ok"
onClicked: root.currentDevice.acceptPairing()
spacing: Kirigami.Units.largeSpacing
Kirigami.PlaceholderMessage {
text: i18n("Pair requested")
anchors.horizontalCenter: parent.horizontalCenter
}
Button {
text: i18nd("kdeconnect-app", "Reject")
icon.name:"dialog-cancel"
onClicked: root.currentDevice.rejectPairing()
RowLayout {
Button {
text: i18nd("kdeconnect-app", "Accept")
icon.name:"dialog-ok"
onClicked: root.currentDevice.acceptPairing()
}
Button {
text: i18nd("kdeconnect-app", "Reject")
icon.name:"dialog-cancel"
onClicked: root.currentDevice.rejectPairing()
}
}
}
......
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