|
|
|
@ -129,7 +129,7 @@ class _MainPageState extends State<MainPage> { |
|
|
|
showBadge: unreadCount > 0, |
|
|
|
tdBadge: TDBadge(TDBadgeType.message, count: unreadCount.toString(), maxCount: '99'), |
|
|
|
badgeTopOffset: -2, |
|
|
|
badgeRightOffset: unreadCount >= 99 ? -20 : (unreadCount >= 10 ? -15 : -10), |
|
|
|
badgeRightOffset: unreadCount >= 99 ? -20 : -8, |
|
|
|
), |
|
|
|
onTap: () { |
|
|
|
currentIndex = index; |
|
|
|
|