Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-06 15:47:52 +08:00
parent aa03eed92d
commit 6bedd9d25f
7 changed files with 27 additions and 46 deletions

View File

@@ -167,7 +167,6 @@ abstract final class ImageUtils {
final result = await Future.wait(futures, eagerError: true);
bool success = true;
if (PlatformUtils.isMobile) {
final delList = <String>[];
final saveList = <SaveFileData>[];
for (final i in result) {
if (i.statusCode == 200) {
@@ -183,9 +182,6 @@ abstract final class ImageUtils {
}
}
await SaverGallery.saveFiles(saveList, skipIfExists: false);
for (final i in delList) {
File(i).tryDel();
}
} else {
for (final res in result) {
if (res.statusCode == 200) {