From e43b329fc171a49706bd22e03a774bb6a18dfcc5 Mon Sep 17 00:00:00 2001 From: funman300 Date: Fri, 8 May 2026 21:42:32 -0700 Subject: [PATCH] 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. 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 --- solitaire_engine/src/stats_plugin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solitaire_engine/src/stats_plugin.rs b/solitaire_engine/src/stats_plugin.rs index fb3f479..4a34267 100644 --- a/solitaire_engine/src/stats_plugin.rs +++ b/solitaire_engine/src/stats_plugin.rs @@ -365,7 +365,7 @@ fn handle_copy_share_link_button( Ok(()) => toast.write(InfoToastEvent(format!("Copied: {url}"))), Err(e) => { warn!("android clipboard failed: {e}"); - toast.write(InfoToastEvent(format!("Share link: {url}"))); + toast.write(InfoToastEvent(format!("Share link: {url}"))) } } }