fix: add about to drawer
This commit is contained in:
parent
5de8333859
commit
9f1f6ad0ff
1 changed files with 16 additions and 0 deletions
|
@ -62,6 +62,22 @@ Drawer genDrawer(int page, BuildContext context) => Drawer(
|
|||
),
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
selected: page == 3,
|
||||
title: const Text("About"),
|
||||
leading: const Icon(Icons.info_outline),
|
||||
onTap: () => page == 3
|
||||
? Navigator.of(context).pop()
|
||||
: Navigator.of(context).push(
|
||||
MaterialPageRoute(
|
||||
builder: (_) => const LicensePage(
|
||||
applicationName: "Voyage Handbook",
|
||||
applicationLegalese:
|
||||
"Copyright ©️ 2023 Matyáš Caras,\nReleased under the GNU GPL version 3",
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue