Generate thumbnails at 512 px to reduce the jarring overload

This commit is contained in:
Vishnu Mohandas
2020-04-25 02:34:08 +05:30
parent 96c26227f7
commit c33631e705

View File

@@ -25,7 +25,7 @@ class _ImageWidgetState extends State<ImageWidget> {
);
@override
Widget build(BuildContext context) {
final size = widget.size == null ? 128 : widget.size;
final size = widget.size == null ? 512 : widget.size;
final cachedImageData = ThumbnailLruCache.get(widget.photo);
Widget image;