Keys: stop displaying hw device msg in view-only wallets

This commit is contained in:
rating89us 2020-01-27 10:07:07 +01:00 committed by GitHub
parent 39aa6e76b1
commit 7ebf50dc6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ Rectangle {
secretSpendKey.text = qsTr("(View Only Wallet - No secret spend key available)") + translationManager.emptyString
}
// hardware device wallet
if(currentWallet.seed === "") {
if(appWindow.currentWallet.isHwBacked() === true) {
showFullQr.visible = false
viewOnlyQRCode.visible = true
showViewOnlyQr.visible = false