Fix analyzer

This commit is contained in:
Christian Pauly 2020-02-16 20:28:07 +01:00
parent c7eec637c0
commit 429e4a1be7
2 changed files with 3 additions and 10 deletions

View File

@ -203,11 +203,8 @@ class _ChatDetailsState extends State<ChatDetails> {
],
title: Text(widget.room.getLocalizedDisplayname(context),
style: TextStyle(
color: Theme.of(context)
.appBarTheme
.textTheme
.headline6
.color)),
color:
Theme.of(context).appBarTheme.textTheme.title.color)),
backgroundColor: Theme.of(context).appBarTheme.color,
flexibleSpace: FlexibleSpaceBar(
background: ContentBanner(widget.room.avatar,

View File

@ -117,11 +117,7 @@ class _SettingsState extends State<Settings> {
title: Text(
I18n.of(context).settings,
style: TextStyle(
color: Theme.of(context)
.appBarTheme
.textTheme
.headline6
.color),
color: Theme.of(context).appBarTheme.textTheme.title.color),
),
background: ContentBanner(
profile?.avatarUrl ?? MxContent(""),