onboarding restore feature
This commit is contained in:
parent
47856f03ff
commit
7584d2b145
8 changed files with 30 additions and 13 deletions
10
src/js/controllers/backController.js
Normal file
10
src/js/controllers/backController.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('backController', function($scope, $state, $stateParams) {
|
||||
|
||||
$scope.importGoBack = function() {
|
||||
if ($stateParams.fromOnboarding) $state.go('onboarding.welcome');
|
||||
else $state.go('add.main');
|
||||
};
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue