opt share img

opt block query

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-26 15:28:57 +08:00
parent 9072d6e051
commit 4003ca6c4d
3 changed files with 19 additions and 20 deletions

View File

@@ -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(