From 1d7c5abbecf6eca8bff22ddc4fb5fb36582abfb7 Mon Sep 17 00:00:00 2001 From: shortwavesurfer2009 Date: Mon, 5 Oct 2026 13:39:04 -0400 Subject: [PATCH] Android: remove message copied snackbar in favor of the system text copied chip --- lib/screens/channel_chat_screen.dart | 3 +++ lib/screens/chat_screen.dart | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lib/screens/channel_chat_screen.dart b/lib/screens/channel_chat_screen.dart index dc3124c0..c3de648e 100644 --- a/lib/screens/channel_chat_screen.dart +++ b/lib/screens/channel_chat_screen.dart @@ -2478,6 +2478,9 @@ class _ChannelChatScreenState extends State { 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), diff --git a/lib/screens/chat_screen.dart b/lib/screens/chat_screen.dart index 30aac388..05c4e4e7 100644 --- a/lib/screens/chat_screen.dart +++ b/lib/screens/chat_screen.dart @@ -1279,6 +1279,9 @@ class _ChatScreenState extends State { 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),