Skip to content

Commit

Permalink
Show encryption information when waiting for accepted pairing
Browse files Browse the repository at this point in the history
  • Loading branch information
R1tschY committed May 27, 2024
1 parent fc9ee1c commit e0f3e51
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion app/qml/pages/DevicePage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Page {

PropertyChanges {
target: placeholder
text: i18n("Waiting for accepted pairing ...")
text: ""
}
},
State {
Expand Down Expand Up @@ -138,6 +138,37 @@ Page {
}
}

Column {
id: waitForAcceptedPairingEntry
spacing: Theme.paddingLarge
height: Theme.itemSizeSmall
width: parent.width - Theme.paddingLarge * 2
x: Theme.horizontalPageMargin
visible: deviceView.state === "waitForAcceptedPairing"

Label {
color: Theme.highlightColor
text: i18n("Waiting for accepted pairing ...")
width: parent.width
wrapMode: Text.Wrap
}

Button {
text: i18n("Cancel")
onClicked: _device.cancelPairing()
}

Item {
height: Theme.paddingLarge
width: parent.width
}

EncryptionInfo {
width: parent.width
encryptionInfo: _device ? _device.encryptionInfo() : ""
}
}

Column {
id: trustEntry
spacing: Theme.paddingLarge
Expand Down

0 comments on commit e0f3e51

Please sign in to comment.