Merge pull request #12405 from ElderOrb/FB12297

Fix for privacy screen not displayed during wallet creation on step 3, while user entering password for the wallet
This commit is contained in:
John Conklin II 2018-02-15 09:47:45 -08:00 committed by GitHub
commit db399a47eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -441,7 +441,7 @@ Item {
}
Item {
id: choosePassphraseContainer;
visible: root.activeView === "step_3";
visible: root.hasShownSecurityImageTip && root.activeView === "step_3";
// Anchors
anchors.top: titleBarContainer.bottom;
anchors.topMargin: 30;
@ -451,7 +451,10 @@ Item {
onVisibleChanged: {
if (visible) {
sendSignalToWallet({method: 'disableHmdPreview'});
Commerce.getWalletAuthenticatedStatus();
} else {
sendSignalToWallet({method: 'maybeEnableHmdPreview'});
}
}