Merge pull request #309 from JDonadio/fix/clear-backup-flow

Clear button on backup flow
This commit is contained in:
Jason Dreyzehner 2016-10-07 10:24:08 -04:00 committed by GitHub
commit f8a70272de
2 changed files with 5 additions and 4 deletions

View File

@ -90,8 +90,10 @@ angular.module('copayApp.controllers').controller('backupController',
if (val) {
$ionicHistory.removeBackView();
$state.go('tabs.home');
}
else $state.go('onboarding.disclaimer', {walletId: $stateParams.walletId, backedUp: true});
} else $state.go('onboarding.disclaimer', {
walletId: $stateParams.walletId,
backedUp: true
});
});
};

View File

@ -51,8 +51,7 @@
</button>
</span>
<button ng-show="selectComplete" class="button button-standard button-primary" ng-click="goToStep(3);" translate>Confirm</button>
<!-- TODO: implement -->
<button ng-show="selectComplete" class="button button-standard button-secondary button-clear" ng-click="clearAll();" translate>Clear</button>
<button ng-show="selectComplete" class="button button-standard button-secondary button-clear" ng-click="initFlow();" translate>Clear</button>
</div>
</div>
</div>