wip add modal config
This commit is contained in:
parent
1ee75fd424
commit
82e556b026
7 changed files with 57 additions and 8 deletions
|
|
@ -41,10 +41,16 @@ angular.module('copayApp.controllers').controller('pincodeController', function(
|
|||
};
|
||||
|
||||
function checkPasscode() {
|
||||
console.log('Checking');
|
||||
configService.whenAvailable(function(config) {
|
||||
var value = '1234';
|
||||
if (value != $scope.pincode) return;
|
||||
console.log('MATCH');
|
||||
});
|
||||
};
|
||||
|
||||
$scope.cancel = function() {
|
||||
$scope.savePincodeChanges(false);
|
||||
$scope.pincodeModal.hide();
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue