Skip to content

Commit

Permalink
TW-386 [View message] As an user, I want to go to the position of the…
Browse files Browse the repository at this point in the history
… message which I replied
  • Loading branch information
drminh2807 authored and hoangdat committed Aug 31, 2023
1 parent c85b886 commit f46d3de
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/widgets/mxc_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MxcImage extends StatefulWidget {
}

class _MxcImageState extends State<MxcImage>
with AutomaticKeepAliveClientMixin, SingleTickerProviderStateMixin {
with SingleTickerProviderStateMixin {
static const String placeholderKey = 'placeholder';
static final Map<String, Uint8List> _imageDataCache = {};
Uint8List? _imageDataNoCache;
Expand Down Expand Up @@ -200,7 +200,6 @@ class _MxcImageState extends State<MxcImage>

@override
Widget build(BuildContext context) {
super.build(context);
final imageWidget = widget.animated
? AnimatedSwitcher(
duration: widget.animationDuration,
Expand Down Expand Up @@ -244,8 +243,4 @@ class _MxcImageState extends State<MxcImage>
),
);
}

@override
// TODO: implement wantKeepAlive
bool get wantKeepAlive => true;
}

0 comments on commit f46d3de

Please sign in to comment.