wip add modal config

This commit is contained in:
JDonadio 2017-02-28 10:32:10 -03:00
commit 82e556b026
7 changed files with 57 additions and 8 deletions

View file

@ -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();
};
});