1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

fix(mobile): cache related crash (#593)

This commit is contained in:
Matthias Rupp 2022-09-06 15:10:52 +02:00 committed by GitHub
parent 1425f2ec78
commit 4c977d2c1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ class ImmichCacheInfoRepository extends ImmichCacheRepository {
return aTouched.compareTo(bTouched);
});
return values.skip(capacity).toList();
return values.skip(capacity).take(10).toList();
}
@override