Skip to content

Commit 1eb33c7

Browse files
committed
fix: Set selected contry spinner
fixes firebase#2005
1 parent 0960234 commit 1eb33c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/phone/CountryListSpinner.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public CountryListSpinner(Context context, AttributeSet attrs, int defStyle) {
8686
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
8787
CountryInfo info = mCountryListAdapter.getItem(position);
8888
if (info != null) {
89+
mSelectedCountryInfo = info;
8990
setText(info.toShortString());
9091
}
9192

0 commit comments

Comments
 (0)