make thread roots more distinguishable, and always show them even when redacted

This commit is contained in:
Henry Hiles 2026-11-06 09:46:59 -05:00
commit 5eed03c10e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -55,6 +55,10 @@ class const MessageRenderer(
);
final rendered = switch (event.content) {
_ when event.redactedBy != null => Text(
"Redacted event",
style: errorStyle,
),
EncryptedContent() => Text("Unable to decrypt event", style: errorStyle),
StickerContent(:final body, :final url, :final info) =>
textOnly