fixes and remove unused views

This commit is contained in:
Gabriel Bazán 2017-05-09 17:29:33 -03:00
commit ff5b662f39
8 changed files with 14 additions and 29 deletions

View file

@ -121,7 +121,6 @@ angular.module('copayApp.controllers').controller('lockSetupController', functio
switch (method) {
case 'pin':
applicationService.pinModal('disable');
initMethodSelector();
break;
case 'fingerprint':
fingerprintService.check('unlockingApp', function(err) {
@ -136,7 +135,6 @@ angular.module('copayApp.controllers').controller('lockSetupController', functio
switch (method) {
case 'pin':
applicationService.pinModal('setup');
initMethodSelector();
break;
case 'fingerprint':
saveConfig('fingerprint');
@ -159,7 +157,7 @@ angular.module('copayApp.controllers').controller('lockSetupController', functio
};
$rootScope.$on('pinModalClosed', function() {
initMethodSelector();
init()
});
});

View file

@ -204,4 +204,5 @@ angular.module('copayApp.controllers').controller('pinController', function($sta
lockTimeControl(bannedUntil);
});
};
});

View file

@ -1,12 +0,0 @@
'use strict';
angular.module('copayApp.controllers').controller('pinTestController', function($scope, applicationService) {
$scope.goodPin = function() {
applicationService.successfullUnlocked = true;
$scope.pintestview.hide();
};
$scope.badPin = function() {};
});