Skip to content

Commit

Permalink
hot-fix: rollback to fix the issue related to timestamp when scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn committed May 13, 2024
1 parent e99132b commit f509ced
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/pages/chat/events/message/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ class _MessageState extends State<Message> {
@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();
}
Expand Down

0 comments on commit f509ced

Please sign in to comment.