修复一处设置密码房时的闪退问题
This commit is contained in:
parent
fa12ce88d7
commit
24e07db6e1
@ -82,12 +82,16 @@ public class LiveNewRoomTypeDialogFragment extends AbsDialogFragment implements
|
||||
submit.setOnClickListener(view -> {
|
||||
if (isSelectPublic) {
|
||||
LiveRoomTypeBean bean = new LiveRoomTypeBean(0, WordUtil.getString(R.string.live_room_public));
|
||||
if(mCallback!=null) {
|
||||
mCallback.callback(bean);
|
||||
}
|
||||
} else {
|
||||
for (LiveRoomTypeBean bean : mList) {
|
||||
if (bean.getId() == Constants.LIVE_TYPE_PWD) {
|
||||
bean.setChecked(true);
|
||||
if(mCallback!=null) {
|
||||
mCallback.callback(bean);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user