Skip to content

Commit c78dcc8

Browse files
committed
action-sheet [nfc]: Pass the right BuildContext for showing SnackBar
1 parent 8213338 commit c78dcc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/action_sheet.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class CopyMessageTextButton extends MessageActionSheetMenuItemButton {
361361

362362
if (!messageListContext.mounted) return;
363363

364-
copyWithPopup(context: context,
364+
copyWithPopup(context: messageListContext,
365365
successContent: Text(zulipLocalizations.successMessageCopied),
366366
data: ClipboardData(text: rawContent));
367367
}

0 commit comments

Comments
 (0)