修复单人PK发起方会重复两次倒计时问题
This commit is contained in:
parent
181f081706
commit
6427311cec
@ -207,7 +207,6 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
Log.d("RYM_DG", "Other onLeaveRoom: room = " + room.getRoomId());
|
||||
}
|
||||
};
|
||||
|
||||
public LiveRyLinkMicPkPresenter(Context context, ILiveLinkMicViewHolder linkMicViewHolder, boolean isAnchor, View root) {
|
||||
mContext = context;
|
||||
mIsAnchor = isAnchor;
|
||||
@ -389,7 +388,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
livePushRyViewHolder.mPreView1.setLayoutParams(params);
|
||||
}
|
||||
|
||||
Log.i("tts", s1);
|
||||
Log.i("tts2", s1);
|
||||
mLiveLinkMicPkViewHolder.setTime(s + " " + s1);
|
||||
if (s1.equals("00:01") && mIsAnchor && !s.contains("懲罰")) {
|
||||
HttpClient.getInstance().get("Livepk.endPK", "Livepk.endPK")
|
||||
|
@ -344,8 +344,6 @@ public class LivePushRyViewHolder extends AbsRyLivePushViewHolder implements ITX
|
||||
userBean1.setUserNiceName("null");
|
||||
userBean1.setAvatar("null");
|
||||
}
|
||||
mLiveRyLinkMicPkPresenter.onLinkMicToPk(userBean1);
|
||||
mLiveRyLinkMicPkPresenter.onLinkMicPkStart(inviteeRoomId, 3);
|
||||
//单人PK,减掉次数
|
||||
if (!RandomPkManager.getInstance().isRandomModel()) {
|
||||
LiveNetManager.get(mContext).setFreePkNum(new com.yunbao.common.http.base.HttpCallback<HttpCallbackModel>() {
|
||||
|
Loading…
Reference in New Issue
Block a user