Skip to content

Commit 9e41636

Browse files
authored
fixed issue ##435 (#438)
1 parent 6bdc6d3 commit 9e41636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/app/modules/stopwatch/controllers/stopwatch_controller.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class StopwatchController extends GetxController {
4040

4141
void _updateResult() {
4242
_result.value =
43-
'${_stopwatch.elapsed.inMinutes.toString().padLeft(2, '0')}:${(_stopwatch.elapsed.inSeconds % 60).toString().padLeft(2, '0')}:${(_stopwatch.elapsed.inMilliseconds % 100).toString().padLeft(2, '0')}';
43+
'${_stopwatch.elapsed.inMinutes.toString().padLeft(2, '0')}:${(_stopwatch.elapsed.inSeconds % 60).toString().padLeft(2, '0')}:${(_stopwatch.elapsed.inMilliseconds % 1000 ~/ 10).toString().padLeft(2, '0')}';
4444
}
4545

4646
}

0 commit comments

Comments
 (0)