fix key derivation cache in IOS

This commit is contained in:
Matias Alejo Garcia 2016-06-09 17:47:27 -03:00
commit 005c7a2664
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
3 changed files with 8 additions and 5 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('disclaimerController',
function($scope, $timeout, $log, $ionicSideMenuDelegate, profileService, applicationService, gettextCatalog, uxLanguage, go) {
function($scope, $timeout, $log, $ionicSideMenuDelegate, profileService, applicationService, gettextCatalog, uxLanguage, go, storageService) {
var self = this;
self.tries = 0;
self.creatingProfile = true;
@ -38,7 +38,7 @@ angular.module('copayApp.controllers').controller('disclaimerController',
$ionicSideMenuDelegate.canDragContent(false);
self.lang = uxLanguage.currentLanguage;
profileService.getProfile(function(err, profile) {
storageService.getProfile(function(err, profile) {
if (!profile) {
create(opts);
} else {