Мелкие правки

This commit is contained in:
Халимов Рустам
2026-04-05 00:11:10 +03:00
parent b49ff47762
commit f41ad0bcf8
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ export default function SideMenu({ isOpen, onClose, onOpenProfile }: SideMenuPro
{ icon: User, label: t('myProfile'), onClick: () => { onClose(); onOpenProfile(); } },
{ icon: Users, label: t('friends'), onClick: () => changeView('friends'), badge: friendRequests.length > 0 ? friendRequests.length : undefined },
{ icon: Settings, label: t('settings'), onClick: () => changeView('settings') },
{ divider: true },
{ icon: Info, label: t('aboutApp'), subtitle: 'Knot Messenger v1.0', onClick: () => changeView('about') },
];

View File

@@ -186,7 +186,7 @@ function ChatListItem({ chat, isActive }: ChatListItemProps) {
</p>
</div>
{chat.unreadCount > 0 && !isActive && (
<span className="ml-2 flex-shrink-0 min-w-[20px] h-5 px-1.5 rounded-full bg-primary text-on-primary-container flex items-center justify-center text-[10px] font-black shadow-lg shadow-primary/20 animate-pulse">
<span className="ml-2 flex-shrink-0 min-w-[20px] h-5 px-1.5 rounded-full bg-primary text-black flex items-center justify-center text-[10px] font-black shadow-lg shadow-primary/20 animate-pulse">
{chat.unreadCount}
</span>
)}