Load the thumbnail URL if available

This commit is contained in:
Vishnu Mohandas 2020-05-27 01:33:54 +05:30
parent 25d132a594
commit 69bc22dc39

View file

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