mirror of https://github.com/BTCPrivate/copay.git
fix invalid qr code on Android when nothing is scanning
This commit is contained in:
parent
63e0fd1774
commit
f375d8a832
|
@ -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…
Reference in New Issue