chore: rename projected > expected

This commit is contained in:
Carlos Valente
2025-08-06 05:53:25 +02:00
committed by Carlos Valente
parent b4aaa8966f
commit dddeefd544
12 changed files with 51 additions and 51 deletions
@@ -52,9 +52,9 @@ export function getSubscriptionDisplayData(
offset: number,
currentDay: number,
minutesString: string,
showProjected = false,
showExpected = false,
): { status: ProgressStatus; timer: string } {
const offsetAndDelay = showProjected ? offset + subscribedEvent.delay : 0;
const offsetAndDelay = showExpected ? offset + subscribedEvent.delay : 0;
if (selectedId === subscribedEvent.id) {
// 1. An event that is loaded but not running is {'due': <countdown | overtime>}
@@ -139,7 +139,7 @@ export function getSubscriptionDisplayData(
};
}
// the event here has to be due, we show the countdown the projected start time
// the event here has to be due, we show the countdown the expected start time
return {
status: 'due',
timer: getFormattedTimer(