Increase the frequency at which the progress bar is refreshed
This commit is contained in:
parent
e91032c281
commit
082500c3d1
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ class _CodeWidgetState extends State<CodeWidget> {
|
|||
void initState() {
|
||||
super.initState();
|
||||
_updateTimeRemaining();
|
||||
_everySecondTimer = Timer.periodic(const Duration(seconds: 1), (Timer t) {
|
||||
_everySecondTimer =
|
||||
Timer.periodic(const Duration(milliseconds: 200), (Timer t) {
|
||||
setState(() {
|
||||
_updateTimeRemaining();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue