Fix deprecations
This commit is contained in:
parent
e99521c3f0
commit
02ebf0ff43
9 changed files with 21 additions and 13 deletions
|
|
@ -58,7 +58,7 @@ class Message extends StatelessWidget {
|
|||
|
||||
if (event.messageType == MessageTypes.Image) {
|
||||
color = Theme.of(context).scaffoldBackgroundColor.withOpacity(0.66);
|
||||
textColor = Theme.of(context).textTheme.body1.color;
|
||||
textColor = Theme.of(context).textTheme.bodyText2.color;
|
||||
} else if (ownMessage) {
|
||||
color = event.status == -1
|
||||
? Colors.redAccent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue