mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 03:06:59 +08:00
@@ -311,7 +311,7 @@ abstract final class ImageUtils {
|
||||
}
|
||||
} else {
|
||||
SmartDialog.dismiss();
|
||||
final savePath = await FilePicker.platform.saveFile(
|
||||
final savePath = await FilePicker.saveFile(
|
||||
type: FileType.image,
|
||||
fileName: fileName,
|
||||
);
|
||||
@@ -348,7 +348,7 @@ abstract final class ImageUtils {
|
||||
);
|
||||
if (del) file.tryDel();
|
||||
} else {
|
||||
final savePath = await FilePicker.platform.saveFile(
|
||||
final savePath = await FilePicker.saveFile(
|
||||
type: type,
|
||||
fileName: fileName,
|
||||
);
|
||||
|
||||
@@ -43,7 +43,7 @@ abstract final class Utils {
|
||||
FileType type = FileType.custom,
|
||||
}) async {
|
||||
try {
|
||||
final path = await FilePicker.platform.saveFile(
|
||||
final path = await FilePicker.saveFile(
|
||||
allowedExtensions: allowedExtensions,
|
||||
type: type,
|
||||
fileName: name,
|
||||
|
||||
Reference in New Issue
Block a user