Fix deprecations
This commit is contained in:
parent
e99521c3f0
commit
02ebf0ff43
9 changed files with 21 additions and 13 deletions
|
|
@ -186,8 +186,11 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
],
|
||||
title: Text(widget.room.getLocalizedDisplayname(I18n.of(context)),
|
||||
style: TextStyle(
|
||||
color:
|
||||
Theme.of(context).appBarTheme.textTheme.title.color)),
|
||||
color: Theme.of(context)
|
||||
.appBarTheme
|
||||
.textTheme
|
||||
.headline6
|
||||
.color)),
|
||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: ContentBanner(widget.room.avatar,
|
||||
|
|
@ -223,7 +226,7 @@ class _ChatDetailsState extends State<ChatDetails> {
|
|||
linkStyle: TextStyle(color: Colors.blueAccent),
|
||||
textStyle: TextStyle(
|
||||
fontSize: 14,
|
||||
color: Theme.of(context).textTheme.body1.color,
|
||||
color: Theme.of(context).textTheme.bodyText2.color,
|
||||
),
|
||||
),
|
||||
onTap: widget.room.canSendEvent("m.room.topic")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue