diff --git a/lib/pages/chat/events/message/message.dart b/lib/pages/chat/events/message/message.dart index 3bfec62c5a..2d9ff06138 100644 --- a/lib/pages/chat/events/message/message.dart +++ b/lib/pages/chat/events/message/message.dart @@ -112,8 +112,9 @@ class _MessageState extends State { @override void dispose() { inViewState?.removeContext(context: context); - inViewState?.removeListener(_inviewStateListener); - inViewState?.dispose(); + // TODO: Right now, dispose will make the inviewNotifier not working properly + // inViewState?.removeListener(_inviewStateListener); + // inViewState?.dispose(); inviewNotifier.dispose(); super.dispose(); }