Merge pull request #2746

7ebf50d Keys: stop displaying hw device msg in view-only wallets (rating89us)
This commit is contained in:
luigi1111
2020-01-28 15:25:36 -05:00

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