make unread badge max out at 9999+ not 99+

chore/offband-rebrand
n-kam 4 months ago committed by Enot (ded) Skelly
parent 26516baf67
commit b5aa294fc1
No known key found for this signature in database
GPG Key ID: 2FE5B19B03656304

@ -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…
Cancel
Save

Powered by TurnKey Linux.