fix: utils timeFormat error

This commit is contained in:
guozhigq
2024-03-31 00:27:39 +08:00
parent fd54915399
commit 336feb4fda

View File

@ -51,7 +51,7 @@ class Utils {
}
if (time < 3600) {
if (time == 0) {
return time;
return '00:00';
}
final int minute = time ~/ 60;
final double res = time / 60;