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

fix(mobile): revert cache fixes (#17786)

* Revert "fix(mobile): use immutable cache keys for local images (#17736)"

This reverts commit 010b144754.

* Revert "perf(mobile): remove small thumbnail and cache generated thumbnails (#17682)"

This reverts commit b71039e83c.
This commit is contained in:
Alex
2025-04-22 12:15:54 -05:00
committed by GitHub
parent af36eaa61b
commit 0986a71ce3
2 changed files with 26 additions and 36 deletions

View File

@ -106,12 +106,12 @@ class ImmichLocalImageProvider extends ImageProvider<ImmichLocalImageProvider> {
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is ImmichLocalImageProvider) {
return asset.id == other.asset.id;
return asset == other.asset;
}
return false;
}
@override
int get hashCode => asset.id.hashCode;
int get hashCode => asset.hashCode;
}