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:
parent
49133a8e71
commit
fca9ad2a50
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user