handle unrecognized content scan
This commit is contained in:
parent
2d393afd4e
commit
7080872843
2 changed files with 24 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ angular.module('copayApp.services').factory('incomingData', function($log, $ioni
|
|||
|
||||
data = sanitizeUri(data);
|
||||
//data = '1F1tAaz5x1HUXrCNLbtMDqcw6o5GNn4xqX';
|
||||
data = 'alkjsdflkajsdf';
|
||||
console.log('brroooooo');
|
||||
|
||||
// BIP21
|
||||
|
|
@ -137,6 +138,9 @@ angular.module('copayApp.services').factory('incomingData', function($log, $ioni
|
|||
$state.transitionTo('tabs.add.join', {url: data});
|
||||
});
|
||||
return true;
|
||||
} else {
|
||||
console.log('unrecognized dood');
|
||||
root.showMenu({data: data, type: 'text'});
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue