forked from Nexus/nexus
make thread roots more distinguishable, and always show them even when redacted
This commit is contained in:
parent
ee28ddeddd
commit
5eed03c10e
1 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue