Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mobile][photos] fix check in get thumbnail fn

Priyanshu Dangare085c4a769ccd
diff --git a/mobile/apps/photos/lib/module/download/thumbnail.dart b/mobile/apps/photos/lib/module/download/thumbnail.dart
index e86f57a304..91c042693c 100644
--- a/mobile/apps/photos/lib/module/download/thumbnail.dart
+++ b/mobile/apps/photos/lib/module/download/thumbnail.dart
@@ -207,7 +207,7 @@ Future<Uint8List?> getThumbnailFromLocal(
return file.getAsset.then((asset) async {
if (asset == null ||
!(await asset.exists ||
- (file is TrashFile && file.localID != null))) {
+ (file is TrashFile && file.systemTrashID != null))) {
return null;
}
return asset