Create-Join-Import

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-18 00:27:23 -03:00
commit 855b22a113
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
10 changed files with 53 additions and 46 deletions

View file

@ -32,8 +32,8 @@ angular.module('copayApp.services').factory('go', function($window, $ionicSideMe
root.walletHome = function() {
var fc = profileService.focusedClient;
if (fc && !fc.isComplete()) {
$log.debug("Wallet not complete at startup... redirecting")
root.path('copayers');
$log.debug("Wallet not complete at startup... redirecting");
$state.transitionTo('wallet.details', {walletId: fc.credentials.walletId})
} else {
root.path('tabs.home');
}

View file

@ -539,7 +539,7 @@ angular.module('copayApp.services')
var config = configService.getSync();
if (config.pushNotifications.enabled)
pushNotificationsService.enableNotifications(root.wallet);
return cb(err, walletClient);
return cb(err, client);
});
});
});