Skip to content

Commit

Permalink
fix: utils timeFormat error
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhigq committed Mar 30, 2024
1 parent fd54915 commit 336feb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 336feb4

Please sign in to comment.