From 272b8b914f31c7f76d689d927abe375dd8a18490 Mon Sep 17 00:00:00 2001 From: Alex Kim Date: Mon, 4 Nov 2024 00:15:57 +1100 Subject: [PATCH] Fixed incorrect time shown when downloading --- components/downloads/ActiveDownloads.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/downloads/ActiveDownloads.tsx b/components/downloads/ActiveDownloads.tsx index 3e96f53a..36b48834 100644 --- a/components/downloads/ActiveDownloads.tsx +++ b/components/downloads/ActiveDownloads.tsx @@ -95,7 +95,8 @@ const DownloadCard = ({ process, ...props }: DownloadCardProps) => { const length = p?.item?.RunTimeTicks || 0; const timeLeft = (length - length * (p.progress / 100)) / p.speed; - return formatTimeString(timeLeft, true); + console.log("TIME LEFT:", timeLeft); + return formatTimeString(timeLeft, "tick"); }; const base64Image = useMemo(() => {