refactor: rename negative to overtime

This commit is contained in:
Carlos Valente
2024-06-04 15:34:43 +02:00
committed by Carlos Valente
parent ee1753ef29
commit 6d1a911ab8
6 changed files with 7 additions and 7 deletions
@@ -111,7 +111,7 @@ export default function Timer(props: TimerProps) {
const timerIsTimeOfDay = time.timerType === TimerType.Clock;
const finished = time.phase === TimerPhase.Negative;
const finished = time.phase === TimerPhase.Overtime;
const totalTime = (time.duration ?? 0) + (time.addedTime ?? 0);
const shouldShowModifiers = time.timerType !== TimerType.Clock && time.timerType !== TimerType.CountUp;