2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

"Home" button pops stack

This commit is contained in:
Oliver Walters 2020-04-03 22:27:15 +11:00
parent 49133a8e71
commit fca9ad2a50

View File

@ -106,7 +106,7 @@ class _MyHomePageState extends State<MyHomePage> {
void _goHome() {
// Reset the stack, go to "home"
Navigator.pushNamed(context, "/");
Navigator.pushNamedAndRemoveUntil(context, "/", (r) => false);
}
void _showParts() {