add preselected index

This commit is contained in:
2025-03-06 10:55:31 +02:00
parent 166c13faf3
commit b0e05e35f2
2 changed files with 6 additions and 6 deletions

View File

@@ -224,8 +224,8 @@ class _MIHAppDrawerState extends State<MIHAppDrawer> {
), ),
onTap: () { onTap: () {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
'/privacy-policy', '/about',
//arguments: widget.signedInUser, arguments: 1,
); );
}, },
), ),
@@ -253,8 +253,8 @@ class _MIHAppDrawerState extends State<MIHAppDrawer> {
), ),
onTap: () { onTap: () {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
'/terms-of-service', '/about',
//arguments: widget.signedInUser, arguments: 2,
); );
}, },
), ),

View File

@@ -329,7 +329,7 @@ class _MIHHomeState extends State<MIHHome> {
onTap: () { onTap: () {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
'/about', '/about',
//arguments: widget.signedInUser, arguments: 0,
); );
}, },
tileName: "About MIH", tileName: "About MIH",
@@ -510,7 +510,7 @@ class _MIHHomeState extends State<MIHHome> {
onTap: () { onTap: () {
Navigator.of(context).pushNamed( Navigator.of(context).pushNamed(
'/about', '/about',
//arguments: widget.signedInUser, arguments: 0,
); );
}, },
tileName: "About MIH", tileName: "About MIH",