Commit d6e9d2a8 by 范玉宾

fix total duration err

Took 47 minutes
parent 560c631e
......@@ -28,7 +28,7 @@ class MediaPlayerTimeUtil {
"$minute:$second"
}
}
}else if (time<60){
}else if (time in 1..59){
second = time
return if (second in 0..9){
"00:0$second"
......@@ -36,7 +36,7 @@ class MediaPlayerTimeUtil {
"00:$second"
}
}
return null
return ""
}
fun formatTimeOff(finishTime:Long):String{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment