parent
a9385f2132
commit
cf8e684cb3
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class _ZoomableImageState extends State<ZoomableImage> {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _loadNetworkImage() {
|
void _loadNetworkImage() {
|
||||||
if (!_loadedSmallThumbnail) {
|
if (!_loadedSmallThumbnail && !_loadedFinalImage) {
|
||||||
final cachedThumbnail = ThumbnailInMemoryLruCache.get(_photo);
|
final cachedThumbnail = ThumbnailInMemoryLruCache.get(_photo);
|
||||||
if (cachedThumbnail != null) {
|
if (cachedThumbnail != null) {
|
||||||
_imageProvider = Image.memory(cachedThumbnail).image;
|
_imageProvider = Image.memory(cachedThumbnail).image;
|
||||||
|
|
Loading…
Reference in a new issue