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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
}