Merge remote-tracking branch 'origin/wallet/task/416' into wallet/task/416
This commit is contained in:
commit
66f8ac5a5a
5 changed files with 22 additions and 15 deletions
|
|
@ -31,10 +31,10 @@ angular.module('copayApp.services').factory('clipboardService', function ($http,
|
|||
},0);
|
||||
} else {
|
||||
navigator.clipboard.readText()
|
||||
.then(text => {
|
||||
.then(function (text) {
|
||||
cb(text);
|
||||
})
|
||||
.catch(err => {
|
||||
.catch(function (err) {
|
||||
$log.debug("Clipboard reading is not supported in browser..");
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -228,10 +228,12 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
|||
} else if (/^https?:\/\//.test(data)) {
|
||||
payproService.getPayProDetails(data, coin, function(err, details) {
|
||||
if (err) {
|
||||
root.showMenu({
|
||||
data: data,
|
||||
type: 'url'
|
||||
});
|
||||
if ($state.includes('tabs.scan')) {
|
||||
root.showMenu({
|
||||
data: data,
|
||||
type: 'url'
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
handlePayPro(details);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue