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 7103f98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/pages/chat/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import 'package:fluffychat/widgets/mixins/popup_menu_widget_style.dart';
import 'package:fluffychat/widgets/mixins/twake_context_menu_mixin.dart';
import 'package:flutter_typeahead/flutter_typeahead.dart';
import 'package:fluffychat/utils/extension/global_key_extension.dart';
import 'package:inview_notifier_list/inview_notifier_list.dart';
import 'package:universal_html/html.dart' as html;

import 'package:adaptive_dialog/adaptive_dialog.dart';
Expand Down Expand Up @@ -1930,7 +1931,7 @@ class ChatController extends State<Chat>
pinnedMessageScrollController.dispose();
onUpdateEventStreamSubcription?.cancel();
keyboardVisibilitySubscription?.cancel();

InViewNotifierListCustom.of(context)?.dispose();
replyEventNotifier.dispose();
super.dispose();
}
Expand Down
1 change: 0 additions & 1 deletion lib/pages/chat/events/message/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ class _MessageState extends State<Message> {
void dispose() {
inViewState?.removeContext(context: context);
inViewState?.removeListener(_inviewStateListener);
inViewState?.dispose();
inviewNotifier.dispose();
super.dispose();
}
Expand Down

0 comments on commit 7103f98

Please sign in to comment.