Skip to main content

max / makeover-webview

Take the flag rather than the reason where only the flag is read
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session
https://claude.ai/code/session_0136sbU8F6i9WrcvA3wn4Lgk
Author: Max Johnson <me@maxj.phd> · 2026-08-29 15:45 UTC
Signed with PGP, not checked
Commit: 6b5cae0a4d68f4e492dcabe3ae314704176e2b34
Parent: 5ae78bf
1 file changed, +1 insertion, -1 deletion
M src/form.rs +1 -1
@@ -652,7 +652,7 @@
652 652 // is what a stylesheet mutes; the text is there either way, which is
653 653 // the half that matters — the finding was a greyed control with its
654 654 // explanation behind a hover.
655 - if let Some(reason) = opt.unavailable {
655 + if opt.unavailable.is_some() {
656 656 out.push_str(" disabled");
657 657 }
658 658 out.push_str("><span>");