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)) {
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);