mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
use checksum for asset restoration
refactro code
This commit is contained in:
parent
b8274c9ed4
commit
40ac65db46
5 changed files with 82 additions and 40 deletions
|
|
@ -14,8 +14,8 @@ class LocalFilesManagerRepository {
|
|||
return await _service.moveToTrash(mediaUrls);
|
||||
}
|
||||
|
||||
Future<bool> restoreFromTrash(String fileName, int type) async {
|
||||
return await _service.restoreFromTrash(fileName, type);
|
||||
Future<bool> restoreFromTrash(String fileName, int type, String checksum) async {
|
||||
return await _service.restoreFromTrash(fileName, type, checksum);
|
||||
}
|
||||
|
||||
Future<bool> requestManageMediaPermission() async {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue