[M1 司机端] 修复到计时bug
This commit is contained in:
@@ -171,11 +171,11 @@ class DriverM1Fragment : CharterBaseFragment<DriverM1Fragment?, DriverM1Presente
|
||||
}
|
||||
countDownTimer = object : CountDownTimer(total,countDownInterval){
|
||||
override fun onTick(millisUntilFinished: Long) {
|
||||
var minute = millisUntilFinished/1000/60%60
|
||||
var minute = millisUntilFinished/1000/60
|
||||
|
||||
driverm1_order_count_down.text = String.format(
|
||||
resources.getString(R.string.count_down_txt)
|
||||
,minute)
|
||||
,minute.toInt())
|
||||
|
||||
if(minute.toInt() == 5){//还车提示
|
||||
mPresenter?.carReturnTip()
|
||||
|
||||
Reference in New Issue
Block a user