Merge branch 'stable' of https://github.com/highfidelity/hifi into new-master

This commit is contained in:
Atlante45 2018-02-22 14:45:41 -08:00
commit 7bad82818b

View file

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