Not necessary anymore
This commit is contained in:
parent
4ef66f6516
commit
b2086701d8
1 changed files with 0 additions and 11 deletions
|
|
@ -4,15 +4,6 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
|||
|
||||
var root = {};
|
||||
|
||||
var ignoreState = [
|
||||
'tabs.language',
|
||||
'tabs.about.translators',
|
||||
'tabs.bitpayCardIntro',
|
||||
'tabs.buyandsell.glidera',
|
||||
'tabs.giftcards.amazon',
|
||||
'tabs.giftcards.amazon.buy'
|
||||
];
|
||||
|
||||
root.redir = function(data) {
|
||||
$log.debug('Processing incoming data:' +data);
|
||||
|
||||
|
|
@ -77,8 +68,6 @@ angular.module('copayApp.services').factory('incomingData', function($log, $stat
|
|||
|
||||
// Plain URL
|
||||
} else if (/^https?:\/\//.test(data)) {
|
||||
var currentState = $state.current.name;
|
||||
if (lodash.indexOf(ignoreState, currentState) != -1) return false;
|
||||
$state.go('tabs.send').then(function() {
|
||||
$state.transitionTo('tabs.send.confirm', {paypro: data});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue