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:
zjs81 2026-04-01 22:47:31 -07:00 committed by GitHub
commit c7a2bf9a95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(