Skip to content

Commit

Permalink
🐛 fix: handle snackBar queue while reacting on message
Browse files Browse the repository at this point in the history
- Fix if already snackBar is there then it open new snackBar on previous one.
  • Loading branch information
apurva010 committed Jul 2, 2024
1 parent 2f530e0 commit 74a9991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/widgets/chat_list_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class _ChatListWidgetState extends State<ChatListWidget>
required bool sentByCurrentUser,
}) {
final replyPopup = widget.replyPopupConfig;
ScaffoldMessenger.of(context).clearSnackBars();
ScaffoldMessenger.of(context)
.showSnackBar(
SnackBar(
Expand Down

0 comments on commit 74a9991

Please sign in to comment.