Keep current page after cancel the camera

This commit is contained in:
Gustavo Maximiliano Cortez 2015-12-08 12:14:44 -03:00
commit f8f7429411
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 4 additions and 7 deletions

View file

@ -97,13 +97,10 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
};
this.onQrCodeScanned = function(data) {
if (data) go.send();
$rootScope.$emit('dataScanned', data);
};
this.openSendScreen = function() {
go.send();
};
rateService.whenAvailable(function() {
self.isRateAvailable = true;
$rootScope.$digest();