From 77b24ad9e40cac8787d581995cf1af36b3ad00e3 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 2 May 2022 09:59:08 +1000 Subject: [PATCH] Change path to translations --- l10n.yaml | 2 +- lib/widget/location_display.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/l10n.yaml b/l10n.yaml index a5b40b9e..7b9da738 100644 --- a/l10n.yaml +++ b/l10n.yaml @@ -1,4 +1,4 @@ -arb-dir: lib/l10n +arb-dir: lib/l10n/collected template-arb-file: app_en.arb output-localization-file: app_localizations.dart output-class: I18N \ No newline at end of file diff --git a/lib/widget/location_display.dart b/lib/widget/location_display.dart index 75554e1a..00ba9557 100644 --- a/lib/widget/location_display.dart +++ b/lib/widget/location_display.dart @@ -117,7 +117,7 @@ class _LocationDisplayState extends RefreshableState { // Reload location information if (location != null) { - final bool result = await location?.reload() ?? false; + final bool result = await location!.reload() ?? false; if (!result) { Navigator.of(context).pop();