个播匹配pk计时计时方式修改
This commit is contained in:
@@ -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 =
|
||||
|
@@ -144,7 +144,7 @@ public class RoomInfo implements Parcelable,Serializable {
|
||||
private long pkBeginTime;
|
||||
|
||||
/**
|
||||
* 个播匹配结束时间
|
||||
* 个播匹配开始时间
|
||||
*/
|
||||
private long pkMatchStartTime;
|
||||
|
||||
|
Reference in New Issue
Block a user