fix(angular): swipe to go backs in tabs (#16710)

This commit is contained in:
Manu MA
2018-12-12 17:49:51 +01:00
committed by GitHub
parent b6fd440d34
commit 2553820f78
4 changed files with 9 additions and 9 deletions

View File

@ -66,7 +66,7 @@ export class StackController {
});
}
startBackTransition(stackId?: string) {
startBackTransition(stackId = this.getActiveStackId()) {
const views = this.getStack(stackId);
this.transition(
views[views.length - 2], // entering view