2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Translation fix (#424)

* Fix locale header

- Moving to new framework meant that Intl.getCurrentLocale was no longer working

* Update release notes

* Fix typo in pubspec.yaml

* Clear cached values when locale is changed

* Add extra context check
This commit is contained in:
Oliver
2023-09-20 08:37:48 +10:00
committed by GitHub
parent dd12769a51
commit 6520873384
5 changed files with 46 additions and 10 deletions

View File

@ -152,6 +152,8 @@ class InvenTreeAppState extends State<StatefulWidget> {
});
}
Locale? get locale => _locale;
@override
Widget build(BuildContext context) {