feat: Write and display reason for redacting a message

This commit is contained in:
krille-chan 2023-08-12 12:52:55 +02:00
commit 5e3c62110b
No known key found for this signature in database
4 changed files with 60 additions and 36 deletions

View file

@ -385,8 +385,8 @@ class Message extends StatelessWidget {
container = row;
}
if (event.messageType == MessageTypes.BadEncrypted || event.redacted) {
container = Opacity(opacity: 0.33, child: container);
if (event.messageType == MessageTypes.BadEncrypted) {
container = Opacity(opacity: 0.4, child: container);
}
return Swipeable(