balance Service
This commit is contained in:
parent
a8f0401e8e
commit
57299d675e
31 changed files with 585 additions and 645 deletions
|
|
@ -1,16 +1,14 @@
|
|||
'use strict';
|
||||
angular.module('copayApp.controllers').controller('WarningController', function($scope, $rootScope, $location, controllerUtils) {
|
||||
|
||||
angular.module('copayApp.controllers').controller('WarningController', function($scope, $rootScope, $location, identityService) {
|
||||
|
||||
$scope.checkLock = function() {
|
||||
if (!$rootScope.tmp || !$rootScope.tmp.getLock()) {
|
||||
controllerUtils.redirIfLogged();
|
||||
console.log('[warning.js.7] TODO LOCK'); //TODO
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
$scope.signout = function() {
|
||||
controllerUtils.logout();
|
||||
identityService.logout();
|
||||
};
|
||||
|
||||
$scope.ignoreLock = function() {
|
||||
|
|
@ -22,7 +20,8 @@ angular.module('copayApp.controllers').controller('WarningController', function(
|
|||
} else {
|
||||
w.ignoreLock = 1;
|
||||
$scope.loading = true;
|
||||
controllerUtils.startNetwork(w, $scope);
|
||||
//controllerUtils.startNetwork(w, $scope);
|
||||
// TODO
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue