mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
fix download status
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -458,7 +458,7 @@ class DownloadService extends GetxService {
|
|||||||
|
|
||||||
void _onDone([Object? error]) {
|
void _onDone([Object? error]) {
|
||||||
if (error != null) {
|
if (error != null) {
|
||||||
_updateCurStatus(DownloadStatus.failDownload);
|
_updateCurStatus(_downloadManager?.status ?? DownloadStatus.pause);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user