oops: wrong return type

This commit is contained in:
Eric House 2020-11-21 16:04:40 -08:00
parent d5be06413f
commit f067144ec5

View file

@ -148,7 +148,8 @@ public class InviteView extends ScrollView
} else { } else {
int curSel = mGroupHow.getCheckedRadioButtonId(); int curSel = mGroupHow.getCheckedRadioButtonId();
if ( 0 <= curSel ) { if ( 0 <= curSel ) {
result = (RadioButton)findViewById(curSel); RadioButton button = (RadioButton)findViewById(curSel);
result = mHowMeans.get( button );
} }
} }
return result; return result;