fixing routes on settings
This commit is contained in:
parent
3bac497049
commit
bce77de16c
8 changed files with 15 additions and 17 deletions
|
|
@ -36,10 +36,8 @@ angular.module('copayApp.controllers').controller('preferencesUnitController', f
|
|||
configService.set(opts, function(err) {
|
||||
if (err) $log.warn(err);
|
||||
|
||||
$state.go('preferencesGlobal');
|
||||
$scope.$emit('Local/UnitSettingUpdated');
|
||||
|
||||
walletService.updateRemotePreferences(profileService.getClients(), {}, function() {
|
||||
$state.go('tabs.settings');
|
||||
walletService.updateRemotePreferences(profileService.getWallets(), {}, function() {
|
||||
$log.debug('Remote preferences saved');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue