Adds cache for amount, backup, amazon, glidera, export, walletDetails

This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-22 10:34:00 -03:00
commit 2a9c3c82e9
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
22 changed files with 181 additions and 165 deletions

View file

@ -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();
});
});