Add german translation

This commit is contained in:
2025-07-29 21:21:21 +02:00
parent e310197aa7
commit 7a418d82a7
6 changed files with 145 additions and 4 deletions

View File

@@ -170,6 +170,15 @@ class MyDrawer extends StatelessWidget with ShowAlertDialog {
Navigator.of(context).pop();
},
),
ListTile(
leading: Icon(Icons.flag_outlined),
title: Text(loc?.german ?? 'German'),
onTap: () {
Provider.of<LocaleProvider>(context, listen: false)
.setLocale(const Locale('de'));
Navigator.of(context).pop();
},
),
],
),
),