Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix lint + add todo

Neeraj Gupta8ab01aefe5b2
diff --git a/mobile/lib/module/download/manager.dart b/mobile/lib/module/download/manager.dart
index 6d826b0bc8..614ab23214 100644
--- a/mobile/lib/module/download/manager.dart
+++ b/mobile/lib/module/download/manager.dart
@@ -33,6 +33,7 @@ class DownloadManager {
bool enableResumableDownload(int? size) {
if (size == null) return false;
+ //todo: Use FileUrlType.direct instead of FileUrlType.directDownload
return size > downloadChunkSize && flagService.internalUser;
}
diff --git a/mobile/lib/utils/file_download_util.dart b/mobile/lib/utils/file_download_util.dart
index 267ad8ed96..628c08e750 100644
--- a/mobile/lib/utils/file_download_util.dart
+++ b/mobile/lib/utils/file_download_util.dart
@@ -16,7 +16,6 @@ import 'package:photos/models/file/file.dart';
import "package:photos/models/file/file_type.dart";
import "package:photos/models/ignored_file.dart";
import "package:photos/module/download/file_url.dart";
-import "package:photos/module/download/manager.dart";
import "package:photos/module/download/task.dart";
import "package:photos/service_locator.dart";
import "package:photos/services/collections_service.dart";