Fix analyzer

onboarding
Christian Pauly 6 years ago
parent c7eec637c0
commit 429e4a1be7

@ -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,

@ -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(""),

Loading…
Cancel
Save