FB12297 - HMD: Disabled preview mode only occurs during step 2 of the wallet setup wizard

This commit is contained in:
Alexander Ivash 2018-02-15 02:00:51 +03:00
parent 5a59e04096
commit 611c67bf2f

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'});
}
}