diff --git a/lib/screens/timer/bloc_timer.dart b/lib/screens/timer/bloc_timer.dart index 4c00a25..91d974a 100644 --- a/lib/screens/timer/bloc_timer.dart +++ b/lib/screens/timer/bloc_timer.dart @@ -38,9 +38,10 @@ class TimerBloc extends Bloc { ); _timer = Timer.periodic(const Duration(seconds: 1), (_) { - add(SetTimeLeftEvent(state.timeLeft - const Duration(seconds: 1))); if (state.timeLeft.inMilliseconds == 0) { add(const StopTimerEvent()); + } else { + add(SetTimeLeftEvent(state.timeLeft - const Duration(seconds: 1))); } }); }