From 985b4b5b8d0c1b14e86e5f0da11840e46628c834 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 10 Apr 2018 16:32:48 -0400 Subject: [PATCH] route animations --- src/popup2/app-routing.animations.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/popup2/app-routing.animations.ts b/src/popup2/app-routing.animations.ts index c91b8411e5..038ee1e2b4 100644 --- a/src/popup2/app-routing.animations.ts +++ b/src/popup2/app-routing.animations.ts @@ -87,11 +87,18 @@ const outSlideUp = [ export const routerTransition = trigger('routerTransition', [ transition('home => login', inSlideLeft), - transition('login => home', outSlideRight), + transition('login => home', outSlideRight), transition('login => hint', inSlideUp), + transition('login => tabs, login => 2fa', inSlideLeft), + transition('hint => login', outSlideDown), + transition('2fa => login', outSlideRight), + transition('2fa => 2fa-options', inSlideUp), + transition('2fa-options => 2fa', outSlideDown), + transition('2fa => tabs', inSlideLeft), + transition('tabs => ciphers', inSlideLeft), transition('ciphers => tabs', outSlideRight),