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

pull/2/head
rating89us 4 years ago committed by GitHub
parent 39aa6e76b1
commit 7ebf50dc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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