Skip to content

Commit

Permalink
updated readme according to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jorre127 committed Oct 3, 2022
1 parent 143c89d commit ffae882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ class LocaleViewModel with ChangeNotifier {
static final Localization localizationInstance = Localization();
...
void init(){
Future<void> init(){
await Localization.load(
locale: locale,
localizationOverrides: customLocalizationOverrides,
);
notifyListeners();
}
```

Expand Down

0 comments on commit ffae882

Please sign in to comment.