Skip to content

Commit

Permalink
replaced navigator mode from [push] to [pushReplacement] to replace t…
Browse files Browse the repository at this point in the history
…he splash page to home page
  • Loading branch information
pedromassango committed Sep 10, 2018
1 parent b3c695f commit 2002dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/splash_page.dart
Expand Up @@ -72,7 +72,7 @@ class _SplashPageAnimator extends State<SplashPageAnimator> with SingleTickerPro
_controller.forward();
Future.delayed(
Duration(milliseconds: 4050)).then((_) =>
Navigator.of(context).push(MaterialPageRoute<Null>(
Navigator.of(context).pushReplacement(MaterialPageRoute<Null>(
builder: (context){
return HomePage();
}
Expand Down

6 comments on commit 2002dc6

@braulio94
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and is not working like it was before. It's glitching when it goes from Splash to the Home Page.

@pedromassango
Copy link
Member Author

@pedromassango pedromassango commented on 2002dc6 Sep 12, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I will fix it

@pedromassango
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it today, it is working

@braulio94
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's working because I removed the navigation between these pages.

@pedromassango
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still opened? why?

@braulio94
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well this is not an issue, it's a commit

Please sign in to comment.