move wallet preferences to global settings and show tabs on activity view

This commit is contained in:
Gabriel Bazán 2016-08-31 16:41:53 -03:00
commit 3b419c616a
19 changed files with 256 additions and 238 deletions

View file

@ -8,7 +8,7 @@ angular.module('copayApp.controllers').controller('backController', function($sc
$scope.importGoBack = function() {
if ($stateParams.fromOnboarding) $state.go('onboarding.welcome');
else $state.go('add.main');
else $state.go('tabs.add');
};
$scope.onboardingMailSkip = function() {

View file

@ -3,7 +3,7 @@
angular.module('copayApp.controllers').controller('welcomeController', function($scope, $state, $timeout, $log, $ionicPopup, profileService) {
$scope.goImport = function() {
$state.go('add.import.phrase', {
$state.go('tabs.import.phrase', {
fromOnboarding: true
});
};

View file

@ -36,6 +36,7 @@ angular.module('copayApp.controllers').controller('tabSettingsController', funct
$scope.otherWallets = lodash.filter(profileService.getWallets(self.network), function(w) {
return w.id != self.walletId;
});
$scope.wallets = profileService.getWallets();
};
$scope.openAddressbookModal = function() {