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
+1 -1
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(