Removes functions duplicated
This commit is contained in:
parent
edbae6f730
commit
970e482052
1 changed files with 1 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('glideraController',
|
angular.module('copayApp.controllers').controller('glideraController',
|
||||||
function($scope, $timeout, $modal, applicationService, profileService, configService, storageService, glideraService, isChromeApp) {
|
function($scope, $timeout, $modal, profileService, configService, storageService, glideraService, isChromeApp) {
|
||||||
|
|
||||||
var config = configService.getSync().wallet.settings;
|
var config = configService.getSync().wallet.settings;
|
||||||
|
|
||||||
|
|
@ -73,13 +73,4 @@ angular.module('copayApp.controllers').controller('glideraController',
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
this.revokeToken = function() {
|
|
||||||
var fc = profileService.focusedClient;
|
|
||||||
storageService.removeGlideraToken(fc.credentials.network, function() {
|
|
||||||
$timeout(function() {
|
|
||||||
applicationService.restart();
|
|
||||||
}, 100);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue