Android: remove message copied snackbar in favor of the system text copied chip

This commit is contained in:
shortwavesurfer2009 committed 2026-10-05 13:39:04 -04:00
1 parent 9334d556fe
commit 1d7c5abbec
2 files changed
+6

No files matched your search

+3
View File
@@ -2478,6 +2478,9 @@ class _ChannelChatScreenState extends State<ChannelChatScreen> {
void _copyMessageText(String text) {
Clipboard.setData(ClipboardData(text: text));
// Android shows its own clipboard chip; the snackbar is redundant there
// and lingers over the input field after the chip dismisses.
if (PlatformInfo.isAndroid) return;
showDismissibleSnackBar(
context,
content: Text(context.l10n.chat_messageCopied),
+3
View File
@@ -1279,6 +1279,9 @@ class _ChatScreenState extends State<ChatScreen> {
void _copyMessageText(String text) {
Clipboard.setData(ClipboardData(text: text));
// Android shows its own clipboard chip; the snackbar is redundant there
// and lingers over the input field after the chip dismisses.
if (PlatformInfo.isAndroid) return;
showDismissibleSnackBar(
context,
content: Text(context.l10n.chat_messageCopied),