fix(android): remove trailing semicolon in android clipboard match arm

The Err arm in stats_plugin.rs had a trailing semicolon on
toast.write(...) making it return () while the Ok arm returned
MessageId<InfoToastEvent>. Only caught on Android because the block is
cfg(target_os = "android") gated; the Linux CI never compiled it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-08 21:42:32 -07:00
parent 7c07f71f02
commit e43b329fc1
+1 -1
View File
@@ -365,7 +365,7 @@ fn handle_copy_share_link_button(
Ok(()) => toast.write(InfoToastEvent(format!("Copied: {url}"))), Ok(()) => toast.write(InfoToastEvent(format!("Copied: {url}"))),
Err(e) => { Err(e) => {
warn!("android clipboard failed: {e}"); warn!("android clipboard failed: {e}");
toast.write(InfoToastEvent(format!("Share link: {url}"))); toast.write(InfoToastEvent(format!("Share link: {url}")))
} }
} }
} }