1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-27 09:21:05 +02:00

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 5 deletions

View File

@ -0,0 +1 @@
{"client":{"name":"basic","version":0,"file-system":"device-agnostic","perform-ownership-analysis":"no"},"targets":{"":["<all>"]},"commands":{"<all>":{"tool":"phony","inputs":["<WorkspaceHeaderMapVFSFilesWritten>"],"outputs":["<all>"]},"P0:::Gate WorkspaceHeaderMapVFSFilesWritten":{"tool":"phony","inputs":[],"outputs":["<WorkspaceHeaderMapVFSFilesWritten>"]}}}

View File

@ -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);
}

View File

@ -1211,10 +1211,10 @@ packages:
dependency: "direct main"
description:
name: photo_manager
sha256: "1e8bbe46a6858870e34c976aafd85378bed221ce31c1201961eba9ad3d94df9f"
sha256: "32a1ce1095aeaaa792a29f28c1f74613aa75109f21c2d4ab85be3ad9964230a4"
url: "https://pub.dev"
source: hosted
version: "3.2.3"
version: "3.5.0"
photo_manager_image_provider:
dependency: "direct main"
description:

View File

@ -13,7 +13,7 @@ dependencies:
sdk: flutter
path_provider_ios:
photo_manager: ^3.2.3
photo_manager: ^3.5.0
photo_manager_image_provider: ^2.1.1
flutter_hooks: ^0.20.4
hooks_riverpod: ^2.4.9