Add a debug options page to devtools with the option to always allow verification for now

Closes network/neochat#646
This commit is contained in:
James Graham
2024-04-13 15:11:25 +00:00
parent 697778df8d
commit ab0a32c339
5 changed files with 41 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ FormCard.AbstractFormDelegate {
}
QQC2.ToolButton {
display: QQC2.AbstractButton.IconOnly
visible: root.showVerifyButton && root.type !== DevicesModel.Verified
visible: root.showVerifyButton && (root.type !== DevicesModel.Verified || Config.alwaysVerifyDevice)
action: Kirigami.Action {
id: verifyDeviceAction
text: i18n("Verify device")