1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-08 23:07:06 +02:00

chore(mobile): clean up (#13338)

This commit is contained in:
Alex
2024-10-10 16:53:20 +07:00
committed by GitHub
parent 1baa49edb7
commit 4ce49e4666
2 changed files with 1 additions and 7 deletions

View File

@ -797,8 +797,7 @@ class SyncService {
assets.sort(Asset.compareByOwnerChecksumCreatedModified);
assets.uniqueConsecutive(
compare: Asset.compareByOwnerChecksum,
onDuplicate: (a, b) =>
_log.info("Ignoring duplicate assets on device:\n$a\n$b"),
onDuplicate: (a, b) => {},
);
final int duplicates = before - assets.length;
if (duplicates > 0) {