make action sheet come up if non paypro url has been scanned
This commit is contained in:
parent
cc7311d169
commit
73c3f1853d
5 changed files with 43 additions and 22 deletions
|
|
@ -99,9 +99,15 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
|
|||
|
||||
function handleSuccessfulScan(contents){
|
||||
$log.debug('Scan returned: "' + contents + '"');
|
||||
scannerService.pausePreview();
|
||||
incomingData.redir(contents);
|
||||
}
|
||||
|
||||
$rootScope.$on('incomingDataMenu.menuHidden', function() {
|
||||
scannerService.resumePreview();
|
||||
activate();
|
||||
});
|
||||
|
||||
$scope.openSettings = function(){
|
||||
scannerService.openSettings();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue