mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
opt share img
opt block query Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -258,7 +258,7 @@ class Request {
|
||||
CancelToken? cancelToken,
|
||||
}) async {
|
||||
try {
|
||||
final response = await dio.download(
|
||||
return await dio.download(
|
||||
urlPath,
|
||||
savePath,
|
||||
cancelToken: cancelToken,
|
||||
@@ -268,7 +268,6 @@ class Request {
|
||||
// },
|
||||
);
|
||||
// if (kDebugMode) debugPrint('downloadFile success: ${response.data}');
|
||||
return response;
|
||||
} on DioException catch (e) {
|
||||
// if (kDebugMode) debugPrint('downloadFile error: $e');
|
||||
return Response(
|
||||
|
||||
Reference in New Issue
Block a user