fix: translate home in drawer

This commit is contained in:
Matyáš Caras 2023-04-07 13:04:03 +02:00
parent 33839b6b72
commit 56bd869cca

View file

@ -43,7 +43,7 @@ Drawer genDrawer(int page, BuildContext context) => Drawer(
),
ListTile(
selected: page == 1,
title: const Text("Home"),
title: Text(AppLocalizations.of(context)!.home),
leading: const Icon(Icons.home),
onTap: () => page == 1
? Navigator.of(context).pop()