修复一处可能的空指针错误
This commit is contained in:
parent
cce8e43c24
commit
6198489dd4
@ -124,7 +124,7 @@ public class LiveFansFragment extends AbsDialogFragment {
|
|||||||
ToastUtil.show("退出成功");
|
ToastUtil.show("退出成功");
|
||||||
dismiss();
|
dismiss();
|
||||||
} else if (TextUtils.equals(event.getMethod(), "sendFansCard")) {
|
} else if (TextUtils.equals(event.getMethod(), "sendFansCard")) {
|
||||||
if (LiveRoomViewHolder.mBtnFollow.getVisibility() == View.VISIBLE) {
|
if (LiveRoomViewHolder.mBtnFollow != null && LiveRoomViewHolder.mBtnFollow.getVisibility() == View.VISIBLE) {
|
||||||
LiveRoomViewHolder.follow();
|
LiveRoomViewHolder.follow();
|
||||||
}
|
}
|
||||||
//点击 开通粉丝勋章,打开礼物列表送礼物
|
//点击 开通粉丝勋章,打开礼物列表送礼物
|
||||||
|
Loading…
Reference in New Issue
Block a user