- {prettyBytes(file.size)} • {file.type} • {file.downloadStatus}
+
diff --git a/web/src/components/file-control.tsx b/web/src/components/file-control.tsx
index 87d8447..6e42c1b 100644
--- a/web/src/components/file-control.tsx
+++ b/web/src/components/file-control.tsx
@@ -28,7 +28,7 @@ export default function FileControl({ file }: { file: TelegramFile }) {
{starting ? (
) : (
-
+
)}
diff --git a/web/src/components/file-progress.tsx b/web/src/components/file-progress.tsx
index a35f6d0..12050d8 100644
--- a/web/src/components/file-progress.tsx
+++ b/web/src/components/file-progress.tsx
@@ -21,7 +21,11 @@ export default function FileProgress({ file }: { file: TelegramFile }) {
return file.downloadStatus === "completed" ? 100 : 0;
}, [file.downloadStatus, file.downloadedSize, file.size, downloadProgress]);
- if (file.downloadStatus === "idle" || file.downloadStatus === "completed" || file.size === 0) {
+ if (
+ file.downloadStatus === "idle" ||
+ file.downloadStatus === "completed" ||
+ file.size === 0
+ ) {
return null;
}
@@ -35,7 +39,7 @@ export default function FileProgress({ file }: { file: TelegramFile }) {