wording correction
This commit is contained in:
parent
54751bd755
commit
f1daae6989
1 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function setForm(addr, amount, message) {
|
function goSend(addr, amount, message) {
|
||||||
$state.go('tabs.send', {}, {
|
$state.go('tabs.send', {}, {
|
||||||
'reload': true,
|
'reload': true,
|
||||||
'notify': $state.current.name == 'tabs.send' ? false : true
|
'notify': $state.current.name == 'tabs.send' ? false : true
|
||||||
|
|
@ -94,12 +94,12 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
||||||
if (parsed.r) {
|
if (parsed.r) {
|
||||||
payproService.getPayProDetails(parsed.r, function(err, details) {
|
payproService.getPayProDetails(parsed.r, function(err, details) {
|
||||||
if (err && addr && amount) {
|
if (err && addr && amount) {
|
||||||
setForm(addr, amount, message);
|
goSend(addr, amount, message);
|
||||||
}
|
}
|
||||||
handlePayPro(details);
|
handlePayPro(details);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
setForm(addr, amount, message);
|
goSend(addr, amount, message);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue