chore: Make unread bubble full round
This commit is contained in:
parent
e40d9b5df2
commit
7936982929
1 changed files with 2 additions and 2 deletions
|
|
@ -34,9 +34,9 @@ class UnreadBubble extends StatelessWidget {
|
||||||
: hasNotifications || room.markedUnread
|
: hasNotifications || room.markedUnread
|
||||||
? theme.colorScheme.primary
|
? theme.colorScheme.primary
|
||||||
: theme.colorScheme.primaryContainer,
|
: theme.colorScheme.primaryContainer,
|
||||||
borderRadius: BorderRadius.circular(7),
|
borderRadius: BorderRadius.circular(unreadBubbleSize),
|
||||||
),
|
),
|
||||||
child: hasNotifications
|
child: hasNotifications || room.markedUnread
|
||||||
? Text(
|
? Text(
|
||||||
room.notificationCount.toString(),
|
room.notificationCount.toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue