Adds cache for amount, backup, amazon, glidera, export, walletDetails
This commit is contained in:
parent
9cb0dc128c
commit
2a9c3c82e9
22 changed files with 181 additions and 165 deletions
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('exportController',
|
|||
function($scope, $timeout, $log, $ionicHistory, backupService, walletService, storageService, profileService, platformInfo, gettextCatalog, $state, $stateParams, popupService) {
|
||||
var wallet = profileService.getWallet($stateParams.walletId);
|
||||
|
||||
$scope.init = function() {
|
||||
var init = function() {
|
||||
$scope.formData = {};
|
||||
$scope.isEncrypted = wallet.isPrivKeyEncrypted();
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
|
|
@ -158,4 +158,8 @@ angular.module('copayApp.controllers').controller('exportController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.enter", function(event, data){
|
||||
init();
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue