make unread badge max out at 9999+ not 99+

This commit is contained in:
n-kam 2026-03-27 01:39:52 +03:00 committed by Winston Lowe
parent 36d4a10396
commit 457b44de3a

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(