Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unnecessary check

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