fix: Hard to read titles in chat details

This commit is contained in:
Christian Pauly 2021-02-13 08:56:43 +01:00
parent 295c113787
commit df9013638d

View File

@ -245,7 +245,7 @@ class _ChatDetailsState extends State<ChatDetails> {
: null, : null,
title: Text('${L10n.of(context).groupDescription}:', title: Text('${L10n.of(context).groupDescription}:',
style: TextStyle( style: TextStyle(
color: Theme.of(context).primaryColor, color: Theme.of(context).accentColor,
fontWeight: FontWeight.bold)), fontWeight: FontWeight.bold)),
subtitle: LinkText( subtitle: LinkText(
text: room.topic?.isEmpty ?? true text: room.topic?.isEmpty ?? true
@ -269,7 +269,7 @@ class _ChatDetailsState extends State<ChatDetails> {
title: Text( title: Text(
L10n.of(context).settings, L10n.of(context).settings,
style: TextStyle( style: TextStyle(
color: Theme.of(context).primaryColor, color: Theme.of(context).accentColor,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
@ -483,7 +483,7 @@ class _ChatDetailsState extends State<ChatDetails> {
actualMembersCount.toString()) actualMembersCount.toString())
: L10n.of(context).emptyChat, : L10n.of(context).emptyChat,
style: TextStyle( style: TextStyle(
color: Theme.of(context).primaryColor, color: Theme.of(context).accentColor,
fontWeight: FontWeight.bold, fontWeight: FontWeight.bold,
), ),
), ),
@ -496,6 +496,7 @@ class _ChatDetailsState extends State<ChatDetails> {
backgroundColor: backgroundColor:
Theme.of(context).primaryColor, Theme.of(context).primaryColor,
foregroundColor: Colors.white, foregroundColor: Colors.white,
radius: Avatar.defaultSize / 2,
), ),
onTap: () => AdaptivePageLayout.of(context) onTap: () => AdaptivePageLayout.of(context)
.pushNamed('/rooms/${room.id}/invite'), .pushNamed('/rooms/${room.id}/invite'),