Merge branch 'wallet/sprint/17' into wallet/task/358

This commit is contained in:
Sebastiaan Pasma 2018-05-28 13:55:31 +02:00 committed by GitHub
commit edc398015a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 196 additions and 29 deletions

View file

@ -108,6 +108,9 @@ angular.module('copayApp.controllers').controller('tabScanController', function(
function handleSuccessfulScan(contents){
$log.debug('Scan returned: "' + contents + '"');
scannerService.pausePreview();
// Sometimes (testing in Chrome, when reading QR Code) data is an object
// that has a string data.result.
contents = contents.result || contents;
incomingData.redir(contents);
}