This commit is contained in:
PhilReact 2024-09-14 12:02:49 +03:00
parent bf27a4f566
commit 0e516e4ce4
2 changed files with 6 additions and 4 deletions

View File

@ -56,6 +56,7 @@ export const AnnouncementList = ({
return (
<div
key={message?.identifier}
style={{
marginBottom: "10px",
width: "100%",

View File

@ -1438,10 +1438,10 @@ export const Group = ({
setChatMode((prev) =>
prev === "directs" ? "groups" : "directs"
);
// setNewChat(false);
// setSelectedDirect(null);
// setSelectedGroup(null);
// setGroupSection("default");
}}
sx={{
backgroundColor: chatMode === 'directs' && ( groupChatHasUnread || groupsAnnHasUnread) ? 'red' : 'revert'
}}
>
{chatMode === "groups" && (
@ -1453,6 +1453,7 @@ export const Group = ({
/>
</>
)}
{chatMode === "directs" ? "Switch to groups" : "Direct msgs"}
</CustomButton>
</div>