fix addressbook add scanner and some refactors
This commit is contained in:
parent
c65636e8db
commit
d624f4a2f7
6 changed files with 5 additions and 13 deletions
|
|
@ -33,7 +33,7 @@ angular.module('copayApp.controllers').controller('joinController',
|
|||
}
|
||||
};
|
||||
|
||||
this.onQrCodeScanned = function(data) {
|
||||
this.onQrCodeScannedJoin = function(data) {
|
||||
$scope.secret = data;
|
||||
if ($scope.joinForm) {
|
||||
$scope.joinForm.secret.$setViewValue(data);
|
||||
|
|
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('joinController',
|
|||
if ($stateParams.url) {
|
||||
var data = $stateParams.url;
|
||||
data = data.replace('copay:', '');
|
||||
this.onQrCodeScanned(data);
|
||||
this.onQrCodeScannedJoin(data);
|
||||
}
|
||||
|
||||
var updateSeedSourceSelect = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue