chore(mobile): update photo_manager 3.5.0 (#13050)

This commit is contained in:
Alex
2024-10-01 08:18:13 +07:00
committed by GitHub
parent a019fb670e
commit fe33732958
4 changed files with 10 additions and 5 deletions
@@ -16,8 +16,12 @@ class FileMediaRepository implements IFileMediaRepository {
required String title,
String? relativePath,
}) async {
final entity = await PhotoManager.editor
.saveImage(data, title: title, relativePath: relativePath);
final entity = await PhotoManager.editor.saveImage(
data,
filename: title,
title: title,
relativePath: relativePath,
);
return AssetMediaRepository.toAsset(entity);
}