mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
fix: Unread badge color
This commit is contained in:
parent
cb6217c059
commit
49d5f867c9
@ -34,13 +34,16 @@ class UnreadBadgeBackButton extends StatelessWidget {
|
|||||||
padding: EdgeInsets.all(4),
|
padding: EdgeInsets.all(4),
|
||||||
margin: EdgeInsets.only(bottom: 4, right: 8),
|
margin: EdgeInsets.only(bottom: 4, right: 8),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.red,
|
color: Theme.of(context).primaryColor,
|
||||||
borderRadius:
|
borderRadius:
|
||||||
BorderRadius.circular(AppConfig.borderRadius),
|
BorderRadius.circular(AppConfig.borderRadius),
|
||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
'$unreadCount',
|
'$unreadCount',
|
||||||
style: TextStyle(fontSize: 12),
|
style: TextStyle(
|
||||||
|
fontSize: 12,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user