Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] Handle thumbnail prefetch failures

laurenspriem2666e96efd15
diff --git a/mobile/apps/photos/lib/module/download/thumbnail.dart b/mobile/apps/photos/lib/module/download/thumbnail.dart
index 1cc0f445f2..a324b34e1c 100644
--- a/mobile/apps/photos/lib/module/download/thumbnail.dart
+++ b/mobile/apps/photos/lib/module/download/thumbnail.dart
@@ -77,9 +77,9 @@ Future<Uint8List?> getThumbnail(EnteFile file) async {
void preloadThumbnail(EnteFile file) {
if (file.isRemoteOnlyFile) {
- getThumbnailFromServer(file);
+ getThumbnailFromServer(file).ignore();
} else {
- getThumbnailFromLocal(file);
+ getThumbnailFromLocal(file).ignore();
}
}