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

View File

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