Fix the QRCode scan.
This commit is contained in:
parent
fb275d4b08
commit
029ac7dd39
1 changed files with 3 additions and 0 deletions
|
|
@ -21,6 +21,9 @@ angular.module('copayApp.controllers').controller('addressbookAddController', fu
|
|||
$timeout(function() {
|
||||
var form = addressbookForm;
|
||||
if (data && form) {
|
||||
if (data.result) {
|
||||
data = data.result;
|
||||
}
|
||||
data = data.replace(/^bitcoin(cash)?:/, '');
|
||||
form.address.$setViewValue(data);
|
||||
form.address.$isValid = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue