mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-08 01:30:28 +08:00
Add support for import gallery
This commit is contained in:
@@ -54,6 +54,9 @@ class _TaskView extends State<TaskView> {
|
||||
final progress =
|
||||
widget.task.progress as TaskUpdateMeiliSearchDataProgress;
|
||||
return progress.updatedGallery / progress.totalGallery;
|
||||
case TaskType.import:
|
||||
final progress = widget.task.progress as TaskImportProgress;
|
||||
return progress.importedPage / progress.totalPage;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user