1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01: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 aTouched.compareTo(bTouched);
}); });
return values.skip(capacity).toList(); return values.skip(capacity).take(10).toList();
} }
@override @override