Minor fixes
This commit is contained in:
parent
7e6212ff8a
commit
de29800f29
19 changed files with 156 additions and 104 deletions
|
|
@ -14,7 +14,7 @@ class MessageContent extends StatelessWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final int maxLines = textOnly ? 1 : null;
|
||||
if (textOnly)
|
||||
if (textOnly) {
|
||||
return Text(
|
||||
event.getBody(),
|
||||
style: TextStyle(
|
||||
|
|
@ -23,6 +23,7 @@ class MessageContent extends StatelessWidget {
|
|||
),
|
||||
maxLines: maxLines,
|
||||
);
|
||||
}
|
||||
switch (event.type) {
|
||||
case EventTypes.Audio:
|
||||
case EventTypes.Image:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue