mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
"Home" button pops stack
This commit is contained in:
parent
49133a8e71
commit
fca9ad2a50
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue