mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
Merge pull request #316 from n-kam/unread-badge-max-value
Make unread badge max out at 9999+ instead of 99+
This commit is contained in:
commit
c7a2bf9a95
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ class UnreadBadge extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final display = count > 99 ? '99+' : count.toString();
|
||||
final display = count > 9999 ? '9999+' : count.toString();
|
||||
return Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue