Merge branch 'ref/design' of github.com:matiu/copay into ref/design
This commit is contained in:
commit
1f5e55efae
12 changed files with 149 additions and 48 deletions
|
|
@ -32,13 +32,17 @@ 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');
|
||||
}
|
||||
};
|
||||
|
||||
root.confirm = function(params) {
|
||||
$state.transitionTo('confirm', params)
|
||||
};
|
||||
|
||||
root.send = function() {
|
||||
root.path('tabs.send');
|
||||
};
|
||||
|
|
|
|||
|
|
@ -540,7 +540,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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue