upgrade deps

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-20 16:49:14 +08:00
parent 7c342032de
commit be5889ee33
5 changed files with 64 additions and 66 deletions

View File

@@ -316,6 +316,7 @@ abstract final class ImageUtils {
final savePath = await FilePicker.saveFile(
type: FileType.image,
fileName: fileName,
bytes: Uint8List(0),
);
if (savePath == null) {
SmartDialog.showToast("取消保存");
@@ -353,6 +354,7 @@ abstract final class ImageUtils {
final savePath = await FilePicker.saveFile(
type: type,
fileName: fileName,
bytes: Uint8List(0),
);
if (savePath == null) {
SmartDialog.showToast("取消保存");

View File

@@ -17,7 +17,7 @@ abstract final class StorageUtils {
allowedExtensions: allowedExtensions,
type: type,
fileName: name,
bytes: PlatformUtils.isDesktop ? null : bytes,
bytes: PlatformUtils.isDesktop ? Uint8List(0) : bytes,
);
if (path == null) {
SmartDialog.showToast("取消保存");