fix: 时间为0的异常

This commit is contained in:
orz12
2024-03-13 20:26:20 +08:00
parent 2ad353f80b
commit bb0d4d799b

View File

@@ -131,7 +131,7 @@ class Utils {
}
if (time < 3600) {
if (time == 0) {
return time;
return time.toString();
}
final int minute = time ~/ 60;
final double res = time / 60;