fix: translate home in drawer
This commit is contained in:
parent
33839b6b72
commit
56bd869cca
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ Drawer genDrawer(int page, BuildContext context) => Drawer(
|
||||||
),
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
selected: page == 1,
|
selected: page == 1,
|
||||||
title: const Text("Home"),
|
title: Text(AppLocalizations.of(context)!.home),
|
||||||
leading: const Icon(Icons.home),
|
leading: const Icon(Icons.home),
|
||||||
onTap: () => page == 1
|
onTap: () => page == 1
|
||||||
? Navigator.of(context).pop()
|
? Navigator.of(context).pop()
|
||||||
|
|
Loading…
Reference in a new issue