Browse Source

format code

Caijinglong 5 years ago
parent
commit
4355c1a7c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lib/src/delegate/badge_delegate.dart

+ 1
- 1
lib/src/delegate/badge_delegate.dart View File

52
     if (type == AssetType.video) {
52
     if (type == AssetType.video) {
53
       var s = duration.inSeconds % 60;
53
       var s = duration.inSeconds % 60;
54
       var m = duration.inMinutes % 60;
54
       var m = duration.inMinutes % 60;
55
-      var h = duration.inHours ;
55
+      var h = duration.inHours;
56
 
56
 
57
       String text =
57
       String text =
58
           "$h:${m.toString().padLeft(2, '0')}:${s.toString().padLeft(2, '0')}";
58
           "$h:${m.toString().padLeft(2, '0')}:${s.toString().padLeft(2, '0')}";