Prepare Lunaris 1.1.2 experimental

This commit is contained in:
2026-05-26 11:43:25 +03:00
parent 369dee02be
commit 9cff9e5307
42 changed files with 2041 additions and 303 deletions
+8 -2
View File
@@ -11,19 +11,23 @@ enum DownloadTaskStatus {
class DownloadTask {
const DownloadTask({
required this.id,
required this.post,
required this.fileName,
required this.progress,
required this.status,
this.post,
this.sourceUrl,
this.openAfterDownload = false,
this.savedPath,
this.error,
});
final String id;
final Post post;
final Post? post;
final String? sourceUrl;
final String fileName;
final double progress;
final DownloadTaskStatus status;
final bool openAfterDownload;
final String? savedPath;
final String? error;
@@ -36,9 +40,11 @@ class DownloadTask {
return DownloadTask(
id: id,
post: post,
sourceUrl: sourceUrl,
fileName: fileName,
progress: progress ?? this.progress,
status: status ?? this.status,
openAfterDownload: openAfterDownload,
savedPath: savedPath ?? this.savedPath,
error: error,
);