mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-07-09 18:50:11 +08:00
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user