修复测试反馈的问题:用户名片点贵族跳转没用

This commit is contained in:
zlzw 2022-11-29 15:32:55 +08:00
parent e5c5a2e5f5
commit 35b24c261e

View File

@ -37,6 +37,7 @@ import com.yunbao.common.glide.ImgLoader;
import com.yunbao.common.http.CommonHttpUtil; import com.yunbao.common.http.CommonHttpUtil;
import com.yunbao.common.http.HttpCallback; import com.yunbao.common.http.HttpCallback;
import com.yunbao.common.interfaces.CommonCallback; import com.yunbao.common.interfaces.CommonCallback;
import com.yunbao.common.utils.Bus;
import com.yunbao.common.utils.CommonIconUtil; import com.yunbao.common.utils.CommonIconUtil;
import com.yunbao.common.utils.DialogUitl; import com.yunbao.common.utils.DialogUitl;
import com.yunbao.common.utils.MicStatusManager; import com.yunbao.common.utils.MicStatusManager;
@ -54,6 +55,7 @@ import com.yunbao.live.bean.GuardUserBean;
import com.yunbao.live.bean.ImpressBean; import com.yunbao.live.bean.ImpressBean;
import com.yunbao.common.bean.LiveBean; import com.yunbao.common.bean.LiveBean;
import com.yunbao.live.custom.MyTextView; import com.yunbao.live.custom.MyTextView;
import com.yunbao.live.event.LiveAudienceEvent;
import com.yunbao.live.event.LiveRoomChangeEvent; import com.yunbao.live.event.LiveRoomChangeEvent;
import com.yunbao.live.http.LiveHttpConsts; import com.yunbao.live.http.LiveHttpConsts;
import com.yunbao.live.http.LiveHttpUtil; import com.yunbao.live.http.LiveHttpUtil;
@ -661,6 +663,9 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
if (isAnchor) { if (isAnchor) {
dismiss(); dismiss();
((LiveActivity) mContext).openFansWindow(mToUid); ((LiveActivity) mContext).openFansWindow(mToUid);
}else{
Bus.get().post(new LiveAudienceEvent()
.setType(LiveAudienceEvent.LiveAudienceType.NOBLE));
} }
} else if (i == R.id.btn_setting) { } else if (i == R.id.btn_setting) {
setting(); setting();