Show HomeWallet immediately the when profile was started

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-13 18:54:30 -03:00
commit 183d6ec15c
9 changed files with 9 additions and 10 deletions

View file

@ -33,7 +33,6 @@ angular.module('copayApp.services')
passphraseConfig: config.passphraseConfig,
failIfExists: true,
}, function(err, iden) {
scope.loading = false;
if (err || !iden) {
copay.logger.debug(err);
if (err && (err.match('EEXISTS') || err.match('BADCREDENTIALS'))) {
@ -78,7 +77,6 @@ angular.module('copayApp.services')
walletDefaults: config.wallet,
passphraseConfig: config.passphraseConfig,
}, function(err, iden) {
scope.loading = false;
if (err && !iden) {
if ((err.toString() || '').match('PNOTFOUND')) {
scope.error = 'Invalid email or password';