Fix message bubble color
This commit is contained in:
parent
1936427194
commit
44f3f2f412
3 changed files with 21 additions and 6 deletions
|
|
@ -19,10 +19,10 @@ extension LocalizedBody on Event {
|
|||
}
|
||||
|
||||
bool get showThumbnail =>
|
||||
[EventTypes.Message, EventTypes.Sticker].contains(type) &&
|
||||
[MessageTypes.Image, MessageTypes.Sticker].contains(messageType) &&
|
||||
(kIsWeb ||
|
||||
(content['info'] is Map &&
|
||||
content['info']['size'] < room.client.store.maxFileSize));
|
||||
(content['info'] is Map &&
|
||||
content['info']['size'] < room.client.store.maxFileSize));
|
||||
|
||||
String get sizeString {
|
||||
if (content["info"] is Map<String, dynamic> &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue