Browse Source

Load the thumbnail URL if available

Vishnu Mohandas 5 years ago
parent
commit
69bc22dc39
1 changed files with 2 additions and 1 deletions
  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() {
     _imageProvider = Image.network(Configuration.instance.getHttpEndpoint() +
-            "/" +
+                "/" +
+                widget.photo.thumbnailPath ??
             widget.photo.remotePath)
         .image;
   }