fix: Unread badge color

onboarding
Christian Pauly 5 years ago
parent d913be0375
commit 8c46fe9c5a

@ -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…
Cancel
Save