Merge pull request #221 from cmgustavo/ref/design-13

Glidera
This commit is contained in:
Matias Alejo Garcia 2016-08-24 11:35:46 -03:00 committed by GitHub
commit 347a2cb9bf
19 changed files with 1127 additions and 931 deletions

View file

@ -1,11 +1,11 @@
'use strict';
angular.module('copayApp.controllers').controller('glideraConfirmationController', function($scope, $timeout, storageService, applicationService) {
angular.module('copayApp.controllers').controller('glideraConfirmationController', function($scope, $timeout, $state, glideraService) {
$scope.ok = function() {
storageService.removeGlideraToken($scope.network, function() {
glideraService.removeToken(function() {
$timeout(function() {
applicationService.restart();
$state.go('glidera.main');
}, 100);
});
$scope.cancel();