Skip to content

Commit

Permalink
fixed ensureInitialized() returns future aissat#314
Browse files Browse the repository at this point in the history
  • Loading branch information
aissat committed Jan 8, 2021
1 parent 39907c5 commit de20d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/easy_localization_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class EasyLocalization extends StatefulWidget {
/// ensureInitialized needs to be called in main
/// so that savedLocale is loaded and used from the
/// start.
static void ensureInitialized() async =>
static Future<void> ensureInitialized() async =>
EasyLocalizationController.initEasyLocation();
}

Expand Down

0 comments on commit de20d32

Please sign in to comment.