fix(profile): streak hover text saying that it can still be continued even though its already too late

This commit is contained in:
Miodec 2024-04-25 12:41:06 +02:00
parent 79e8566f95
commit 76c85420a5

View file

@ -174,9 +174,12 @@ export async function update(
if (isToday) {
hoverText += `\nClaimed today: yes`;
hoverText += `\nCome back in: ${timeDif} ${offsetString}`;
} else {
} else if (isYesterday) {
hoverText += `\nClaimed today: no`;
hoverText += `\nStreak lost in: ${timeDif} ${offsetString}`;
} else {
hoverText += `\nStreak lost ${timeDif} ${offsetString} ago`;
hoverText += `\nIt will be removed from your profile on the next result save`;
}
console.debug(hoverText);