Taking a break now

This commit is contained in:
Zach Fox 2017-08-22 12:26:46 -07:00
parent a31088b60f
commit 763ce73306
3 changed files with 9 additions and 6 deletions
interface/resources/qml/hifi/commerce/wallet

View file

@ -33,15 +33,15 @@ Rectangle {
id: commerce;
onSecurityImageResult: {
if (imageID === 0 && root.lastPage === "securityImage") { // "If security image is set up"
// ERROR! Invalid security image.
securityImageContainer.visible = true;
choosePassphraseContainer.visible = false;
if (imageID === 0) { // "If security image is not set up"
if (root.activeView !== "notSetUp") {
root.activeView = "notSetUp";
}
}
}
onKeyFilePathResult: {
if (path === "") {
if (path === "" && root.activeView !== "notSetUp") {
root.activeView = "notSetUp";
}
}

View file

@ -30,7 +30,8 @@ Item {
onSecurityImageResult: {
if (imageID !== 0) { // "If security image is set up"
securityImage.source = securityImageModel.getImagePathFromImageID(imageID);
var path = securityImageModel.getImagePathFromImageID(imageID);
securityImage.source = path;
}
}

View file

@ -554,6 +554,7 @@ Rectangle {
anchors.top: explanationText.bottom;
anchors.topMargin: 10;
anchors.left: parent.left;
anchors.leftMargin: 16;
anchors.right: clipboardButton.left;
height: 40;
readOnly: true;
@ -569,6 +570,7 @@ Rectangle {
color: hifi.buttons.black;
colorScheme: hifi.colorSchemes.dark;
anchors.right: parent.right;
anchors.rightMargin: 16;
anchors.top: keyFilePath.top;
anchors.bottom: keyFilePath.bottom;
width: height;