From 56bd869cca112b6ce755ee7441ea2c32fb01c8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maty=C3=A1=C5=A1=20Caras?= Date: Fri, 7 Apr 2023 13:04:03 +0200 Subject: [PATCH] fix: translate home in drawer --- lib/util/drawer.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/drawer.dart b/lib/util/drawer.dart index 9fe300a..6d68719 100644 --- a/lib/util/drawer.dart +++ b/lib/util/drawer.dart @@ -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()