1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-14 07:04:24 +02:00

fix(mobile): Fix minor issues with downloading assets (#13609)

* improve download asset

* fix: download motion photos on ios

---------

Co-authored-by: dvbthien <dvbthien@gmail.com>
Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
dvbthien
2024-10-21 00:56:02 +07:00
committed by GitHub
parent 62e55f3db9
commit ee0130a58b
8 changed files with 119 additions and 57 deletions

View File

@ -10,6 +10,12 @@ abstract interface class IFileMediaRepository {
String? relativePath,
});
Future<Asset?> saveImageWithFile(
String filePath, {
String? title,
String? relativePath,
});
Future<Asset?> saveVideo(
File file, {
required String title,