Skip to content

Commit

Permalink
TW-400 Memory Improve Image message in place holder while sending image
Browse files Browse the repository at this point in the history
  • Loading branch information
drminh2807 committed Aug 25, 2023
1 parent fe30413 commit 76bc697
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/widgets/mxc_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ class _MxcImageState extends State<MxcImage>
data,
width: widget.width,
height: widget.height,
cacheWidth: widget.width?.toInt(),
cacheHeight: widget.height?.toInt(),
fit: widget.fit,
filterQuality: FilterQuality.medium,
errorBuilder: (context, __, ___) {
Expand Down

0 comments on commit 76bc697

Please sign in to comment.