Clear text fields up switching wallets

This commit is contained in:
mmbyday
2018-12-18 11:06:29 -08:00
parent 7c0a557e62
commit 09201b17fb
4 changed files with 16 additions and 3 deletions

View File

@@ -109,9 +109,7 @@ Rectangle {
informationPopup.onCloseCallback = null
informationPopup.open();
} else {
addressLine.text = "";
paymentIdLine.text = "";
descriptionLine.text = "";
clearFields();
}
}
}
@@ -183,4 +181,9 @@ Rectangle {
cameraUi.qrcode_decoded.disconnect(updateFromQrCode)
}
function clearFields() {
addressLine.text = "";
paymentIdLine.text = "";
descriptionLine.text = "";
}
}