Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix(DownloadStatusNotification):fixing-lint

Aswin Asokcdbb2d38476a
diff --git a/web/apps/photos/src/components/DownloadStatusNotifications.tsx b/web/apps/photos/src/components/DownloadStatusNotifications.tsx
index 4e589cccf3..df49239be7 100644
--- a/web/apps/photos/src/components/DownloadStatusNotifications.tsx
+++ b/web/apps/photos/src/components/DownloadStatusNotifications.tsx
@@ -159,7 +159,9 @@ export const DownloadStatusNotifications: React.FC<
: isSaveComplete(group)
? t("download_complete")
: progressTitle,
- caption: isSaveComplete(group) ? group.title : progressCaption,
+ caption: isSaveComplete(group)
+ ? group.title
+ : progressCaption,
onClick: createOnClick(group),
endIcon: canRetry ? (
<ReplayIcon titleAccess={t("retry")} />
diff --git a/web/packages/gallery/services/save.ts b/web/packages/gallery/services/save.ts
index 961bce84cb..6554beb771 100644
--- a/web/packages/gallery/services/save.ts
+++ b/web/packages/gallery/services/save.ts
@@ -312,7 +312,10 @@ class ZipBatcher {
private usedNames = new Set<string>();
private baseName: string;
private maxZipSize: number;
- private onStateChange?: (isDownloading: boolean, partNumber: number) => void;
+ private onStateChange?: (
+ isDownloading: boolean,
+ partNumber: number,
+ ) => void;
constructor(
baseName: string,