diff --git a/internal/pomodoro/timer.go b/internal/pomodoro/timer.go index b71f770..69627c3 100644 --- a/internal/pomodoro/timer.go +++ b/internal/pomodoro/timer.go @@ -23,7 +23,7 @@ func startTimer(clients map[*websocket.Conn]*models.Client, remainingSeconds int mu.Unlock() default: // Broadcast the current state to all clients - if !pomodoroPaused { + if !IsPomodoroPaused() { broadcast.BroadcastMessage(clients, models.BroadcastMessage{ Mode: mode, Session: session,