Update lib/components/list_items/message.dart, lib/utils/event_extension.dart files
This commit is contained in:
parent
f2d2103f92
commit
1936427194
2 changed files with 4 additions and 3 deletions
|
|
@ -55,7 +55,7 @@ class Message extends StatelessWidget {
|
|||
MainAxisAlignment rowMainAxisAlignment =
|
||||
ownMessage ? MainAxisAlignment.end : MainAxisAlignment.start;
|
||||
|
||||
if ([EventTypes.Message, EventTypes.Sticker].contains(event.type) && event.showThumbnail) {
|
||||
if (event.showThumbnail) {
|
||||
color = Theme.of(context).scaffoldBackgroundColor.withOpacity(0.66);
|
||||
textColor = Theme.of(context).textTheme.bodyText2.color;
|
||||
} else if (ownMessage) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue