From 835153617d3ab12369b8e17fb677eff787a0b684 Mon Sep 17 00:00:00 2001 From: iLTeoooD Date: Sat, 6 Mar 2021 19:30:45 +0100 Subject: [PATCH] 0.22.3 --- CHANGELOG.md | 6 +++++- example/pubspec.lock | 2 +- lib/loaders/translation_loader.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 46efdbc..0563b14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -233,4 +233,8 @@ Nullsafe support + static analysis fixes ## [0.22.2] -Dartfmt \ No newline at end of file +Dartfmt + +## [0.22.3] + +Fix for #159 \ No newline at end of file diff --git a/example/pubspec.lock b/example/pubspec.lock index e03ff36..5d12d7b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -143,7 +143,7 @@ packages: path: ".." relative: true source: path - version: "0.22.0" + version: "0.22.2" flutter_localizations: dependency: transitive description: flutter diff --git a/lib/loaders/translation_loader.dart b/lib/loaders/translation_loader.dart index b978a9f..1ebf5b8 100644 --- a/lib/loaders/translation_loader.dart +++ b/lib/loaders/translation_loader.dart @@ -23,7 +23,7 @@ abstract class TranslationLoader { /// Return the device current locale Future findDeviceLocale() async { - final Locale systemLocale = ui.window.locale; + final systemLocale = ui.window.locale; MessagePrinter.info("The system locale is $systemLocale"); return Future.value(systemLocale); } diff --git a/pubspec.yaml b/pubspec.yaml index 4ed0b86..d98630d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_i18n description: i18n made easy for Flutter. With flutter_i18n you can make your app international, using just a simple .json file! -version: 0.22.2 +version: 0.22.3 homepage: https://github.com/ilteoood/flutter_i18n issue_tracker: https://github.com/ilteoood/flutter_i18n/issues