Skip to content

Commit 18b5a53

Browse files
committed
#34: Activate the communication page in the menu drawer
1 parent ca5e635 commit 18b5a53

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/controls/menu_drawer.dart

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,23 @@ class MenuDrawer extends StatelessWidget {
5353
},
5454
),
5555
const Divider(),
56+
ListTile(
57+
leading: const Icon(Icons.mail),
58+
title: const Text("Communication"),
59+
onTap: () {
60+
Scaffold.of(context).closeDrawer();
61+
setPageIndex(PageList.communication.index);
62+
},
63+
),
64+
const Divider(),
5665
ListTile(
5766
leading: const Icon(Icons.info),
5867
title: const Text("About"),
5968
onTap: () {
6069
Scaffold.of(context).closeDrawer();
6170
setPageIndex(PageList.about.index);
62-
}, ),
71+
},
72+
),
6373
],
6474
)
6575
);

0 commit comments

Comments
 (0)