mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(trash-sync): remove unused extension
This commit is contained in:
parent
b960efd3e8
commit
f296d47d4a
1 changed files with 0 additions and 10 deletions
|
|
@ -346,13 +346,3 @@ extension on PlatformAsset {
|
|||
orientation: orientation,
|
||||
);
|
||||
}
|
||||
|
||||
extension SyncDeltaExtension on SyncDelta {
|
||||
Iterable<TrashedAsset> toTrashedAssets() {
|
||||
return updates.map((e) {
|
||||
final albums = assetAlbums.cast<String, List<Object?>>();
|
||||
final albumId = albums[e.id]!.cast<String>().first;
|
||||
return (albumId: albumId, asset: e.toLocalAsset());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue