416 - Fix : Show the menu only if we are on the scan tab.

This commit is contained in:
Jean-Baptiste Dominguez 2018-07-17 13:43:47 +09:00
commit 7459fcffd2

View file

@ -228,10 +228,12 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
} else if (/^https?:\/\//.test(data)) { } else if (/^https?:\/\//.test(data)) {
payproService.getPayProDetails(data, coin, function(err, details) { payproService.getPayProDetails(data, coin, function(err, details) {
if (err) { if (err) {
root.showMenu({ if ($state.includes('tabs.scan')) {
data: data, root.showMenu({
type: 'url' data: data,
}); type: 'url'
});
}
return; return;
} }
handlePayPro(details); handlePayPro(details);