mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
Change path to translations
This commit is contained in:
parent
1f75fb4c92
commit
77b24ad9e4
@ -1,4 +1,4 @@
|
|||||||
arb-dir: lib/l10n
|
arb-dir: lib/l10n/collected
|
||||||
template-arb-file: app_en.arb
|
template-arb-file: app_en.arb
|
||||||
output-localization-file: app_localizations.dart
|
output-localization-file: app_localizations.dart
|
||||||
output-class: I18N
|
output-class: I18N
|
@ -117,7 +117,7 @@ class _LocationDisplayState extends RefreshableState<LocationDisplayWidget> {
|
|||||||
|
|
||||||
// Reload location information
|
// Reload location information
|
||||||
if (location != null) {
|
if (location != null) {
|
||||||
final bool result = await location?.reload() ?? false;
|
final bool result = await location!.reload() ?? false;
|
||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user