Prechádzať zdrojové kódy

Load the thumbnail URL if available

Vishnu Mohandas 5 rokov pred
rodič
commit
69bc22dc39
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      lib/ui/thumbnail_widget.dart

+ 2 - 1
lib/ui/thumbnail_widget.dart

@@ -90,7 +90,8 @@ class _ThumbnailWidgetState extends State<ThumbnailWidget> {
 
 
   void _loadNetworkImage() {
   void _loadNetworkImage() {
     _imageProvider = Image.network(Configuration.instance.getHttpEndpoint() +
     _imageProvider = Image.network(Configuration.instance.getHttpEndpoint() +
-            "/" +
+                "/" +
+                widget.photo.thumbnailPath ??
             widget.photo.remotePath)
             widget.photo.remotePath)
         .image;
         .image;
   }
   }