416 - Fix : Show the menu only if we are on the scan tab.
This commit is contained in:
parent
7fa1cd1668
commit
7459fcffd2
1 changed files with 6 additions and 4 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue