个播匹配pk计时计时方式修改

This commit is contained in:
huangjian
2022-12-21 17:57:06 +08:00
parent 614562cd27
commit a6c6c24310
2 changed files with 2 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ class SingleRoomFragment : BaseRoomFragment<ISingleRoomView?, SingleRoomPresente
private fun initRoomPkOrder(pkMatchStartTime: Long) {
if (!AvRoomDataManager.get().isRoomOwner) return
pkMatchDisposable?.dispose()
val residueSeconds = (pkMatchStartTime - CurrentTimeUtils.getCurrentTime()) / 1000
val residueSeconds = (CurrentTimeUtils.getCurrentTime() - pkMatchStartTime) / 1000
if (residueSeconds > 0) {
gameBinding.llRoomPkOrder.visibility = View.VISIBLE
pkMatchDisposable =

View File

@@ -144,7 +144,7 @@ public class RoomInfo implements Parcelable,Serializable {
private long pkBeginTime;
/**
* 个播匹配结束时间
* 个播匹配开始时间
*/
private long pkMatchStartTime;