Merge pull request #581 from shortwavesurfer2009/ui_tweaks

Android: remove message copied snackbar in favor of the system text copied chip
This commit is contained in:
zjs81 authored and GitHub committed 2026-10-07 20:58:40 -07:00
commit b0119a1a20
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),