Commit 4531cebe authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[app] Add placeholder message around pair button

parent 48688b3e
Pipeline #26006 passed with stage
in 10 minutes and 12 seconds
......@@ -152,11 +152,15 @@ Kirigami.Page
id: untrustedDevice
Item {
readonly property var actions: []
Button {
Kirigami.PlaceholderMessage {
text: i18nd("kdeconnect-app", "This device is not paired")
anchors.centerIn: parent
text: i18nd("kdeconnect-app", "Pair")
icon.name:"network-connect"
onClicked: deviceView.currentDevice.requestPair()
helpfulAction: Kirigami.Action {
text: i18nd("kdeconnect-app", "Pair")
icon.name:"network-connect"
onTriggered: deviceView.currentDevice.requestPair()
}
}
}
}
......
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