delete fc from preferences

This commit is contained in:
Gabriel Bazán 2016-08-17 15:53:17 -03:00
commit 4e599c38e7
24 changed files with 173 additions and 243 deletions

View file

@ -1,7 +1,7 @@
'use strict';
angular.module('copayApp.controllers').controller('backupController',
function($rootScope, $scope, $timeout, $log, go, lodash, fingerprintService, platformInfo, configService, profileService, gettext, bwcService, walletService, ongoingProcess) {
function($rootScope, $scope, $timeout, $log, $state, lodash, fingerprintService, platformInfo, configService, profileService, gettext, bwcService, walletService, ongoingProcess) {
var fc = profileService.focusedClient;
var prevState;
@ -69,7 +69,7 @@ angular.module('copayApp.controllers').controller('backupController',
};
$scope.goBack = function() {
go.path(prevState || 'walletHome');
$state.go('wallet.preferences');
};
$scope.$on('$destroy', function() {