Fix no-wallet home

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-14 15:01:49 -03:00
parent 2b49ebd33d
commit 2571935fab
No known key found for this signature in database
GPG Key ID: 15EDAD8D9F2EB1AF
1 changed files with 4 additions and 3 deletions

View File

@ -681,7 +681,6 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
}); });
var fc = profileService.focusedClient; var fc = profileService.focusedClient;
if (!fc) return;
// ToDo: use a credential's (or fc's) function for this // ToDo: use a credential's (or fc's) function for this
this.hideNote = !fc.credentials.sharedEncryptingKey; this.hideNote = !fc.credentials.sharedEncryptingKey;
}; };
@ -1146,6 +1145,8 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
/* Start setup */ /* Start setup */
this.bindTouchDown(); this.bindTouchDown();
this.setAddress(); if (profileService.focusedClient) {
this.setSendFormInputs(); this.setAddress();
this.setSendFormInputs();
}
}); });