From c90bf055e23982dd77840e623950d46f868c0305 Mon Sep 17 00:00:00 2001 From: MinhDV Date: Thu, 31 Aug 2023 09:07:59 +0700 Subject: [PATCH] TW-386 [View message] As an user, I want to go to the position of the message which I replied --- lib/widgets/mxc_image.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/widgets/mxc_image.dart b/lib/widgets/mxc_image.dart index db2209ab23..ffdf96f148 100644 --- a/lib/widgets/mxc_image.dart +++ b/lib/widgets/mxc_image.dart @@ -54,7 +54,7 @@ class MxcImage extends StatefulWidget { } class _MxcImageState extends State - with AutomaticKeepAliveClientMixin, SingleTickerProviderStateMixin { + with SingleTickerProviderStateMixin { static const String placeholderKey = 'placeholder'; static final Map _imageDataCache = {}; Uint8List? _imageDataNoCache; @@ -200,7 +200,6 @@ class _MxcImageState extends State @override Widget build(BuildContext context) { - super.build(context); final imageWidget = widget.animated ? AnimatedSwitcher( duration: widget.animationDuration, @@ -244,8 +243,4 @@ class _MxcImageState extends State ), ); } - - @override - // TODO: implement wantKeepAlive - bool get wantKeepAlive => true; }