Merge pull request #4544 from gabrielbazan7/fix/AndroidScan
fix invalid qr code on Android when nothing is scanning
This commit is contained in:
commit
c3439ef0fe
1 changed files with 2 additions and 1 deletions
|
|
@ -32,9 +32,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
var vanillaScope = ret;
|
||||
|
||||
var disableScannerListener = $rootScope.$on('dataScanned', function(event, data) {
|
||||
if (!data) return;
|
||||
|
||||
self.setForm(data);
|
||||
$rootScope.$emit('Local/SetTab', 'send');
|
||||
|
||||
var form = $scope.sendForm;
|
||||
if (form.address.$invalid && !ongoingProcess.get('fetchingPayPro')) {
|
||||
self.resetForm();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue