mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #210 from gabrielbazan7/feat/join
go to copayers when join wallet if is not complete
This commit is contained in:
commit
3c706521d5
|
@ -146,7 +146,19 @@ angular.module('copayApp.controllers').controller('joinController',
|
|||
$log.debug('Remote preferences saved for:' + client.credentials.walletId)
|
||||
});
|
||||
$ionicHistory.removeBackView();
|
||||
|
||||
if (!client.isComplete()) {
|
||||
$ionicHistory.nextViewOptions({
|
||||
disableAnimate: true
|
||||
});
|
||||
$state.go('tabs.home');
|
||||
$timeout(function() {
|
||||
$state.transitionTo('tabs.copayers', {
|
||||
walletId: client.credentials.walletId
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
else $state.go('tabs.home')
|
||||
});
|
||||
}, 100);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue