Merge pull request #4338 from matiu/bug/ios-key-derivation-cache
fix key derivation cache in IOS
This commit is contained in:
commit
4f5090aec9
3 changed files with 8 additions and 12 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue