bump version

This commit is contained in:
Salvatore Giordano
2020-04-07 15:12:04 +02:00
parent 354f4395b7
commit a94a13bd47
3 changed files with 6 additions and 2 deletions

View File

@@ -185,12 +185,14 @@ class CountryCodePickerState extends State<CountryCodePicker> {
} else {
selectedItem = elements[0];
}
_onInit(selectedItem);
}
}
@override
void initState() {
super.initState();
if (widget.initialSelection != null) {
selectedItem = elements.firstWhere(
(e) =>
@@ -202,6 +204,8 @@ class CountryCodePickerState extends State<CountryCodePicker> {
selectedItem = elements[0];
}
_onInit(selectedItem);
favoriteElements = elements
.where((e) =>
widget.favorite.firstWhere(