Skip to main content

max / goingson

Install the theme under the cfg that registers the scheme it serves Android registers no quasi protocol, so there is no document to hand a stylesheet to and the resolve was work with no reader.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-22 23:49 UTC
Commit: 2fe97bd476f70473e3ac850f92b7745710fdb96d
Parent: 409bc15
1 file changed, +4 insertions, -1 deletion
@@ -428,7 +428,10 @@
428 428 // theme search path is resolved in `AppState::new`: the
429 429 // passthrough that serves it is a closure over no state, and
430 430 // this is where there is a state to read. See
431 - // `quasi::theming`.
431 + // `quasi::theming`. Under the same cfg as the protocol that
432 + // serves it: android registers no scheme, so there is no
433 + // document to hand a stylesheet to.
434 + #[cfg(not(target_os = "android"))]
432 435 quasi::theming::install(&state);
433 436 // Closes the 503 window the deferred protocol opens, before
434 437 // anything can put a window up.