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:
@@ -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}")))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user