refactor: remove dead download code

This commit is contained in:
edde746
2026-04-16 07:27:05 +02:00
parent 74b2d76fea
commit 65e22fbbbd
5 changed files with 0 additions and 263 deletions
-7
View File
@@ -41,13 +41,6 @@ class DownloadProgress {
String get downloadedFormatted => ByteFormatter.formatBytes(downloadedBytes);
String get totalFormatted => ByteFormatter.formatBytes(totalBytes);
Duration? get estimatedTimeRemaining {
if (speed <= 0 || totalBytes <= 0) return null;
final remainingBytes = totalBytes - downloadedBytes;
if (remainingBytes <= 0) return Duration.zero;
return Duration(seconds: (remainingBytes / speed).round());
}
/// Check if this progress update includes artwork paths
bool get hasArtworkPaths => thumbPath != null;