Skip to content

armgit / ente

Public Imported from GitHub
0

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

Revert "Remove unnecessary check"

ashilkncf8e684cb39c
diff --git a/mobile/lib/ui/viewer/file/zoomable_image.dart b/mobile/lib/ui/viewer/file/zoomable_image.dart
index a4e5b46900..c3d6a0c482 100644
--- a/mobile/lib/ui/viewer/file/zoomable_image.dart
+++ b/mobile/lib/ui/viewer/file/zoomable_image.dart
@@ -132,7 +132,7 @@ class _ZoomableImageState extends State<ZoomableImage> {
}
void _loadNetworkImage() {
- if (!_loadedSmallThumbnail) {
+ if (!_loadedSmallThumbnail && !_loadedFinalImage) {
final cachedThumbnail = ThumbnailInMemoryLruCache.get(_photo);
if (cachedThumbnail != null) {
_imageProvider = Image.memory(cachedThumbnail).image;