Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmer committed Sep 13, 2023
1 parent 0dee91a commit 7c2819e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class _DayPasswordTokenWidgetTileState extends ConsumerState<DayPasswordTokenWid
} else {
setState(() => secondsLeft = widget.token.durationUntilNextOTP.inMilliseconds / 1000);
}
final msUntilNextSecond = (secondsLeft * 1000).toInt() % 1000 + 20; // +1 to avoid 0
final msUntilNextSecond = (secondsLeft * 1000).toInt() % 1000 + 1; // +1 to avoid 0
Future.delayed(Duration(milliseconds: msUntilNextSecond), () => _startCountDown());
}

Expand Down

0 comments on commit 7c2819e

Please sign in to comment.