feat: Write and display reason for redacting a message
This commit is contained in:
parent
b27af74918
commit
5e3c62110b
4 changed files with 60 additions and 36 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue