MutualGroupDMs: fix member count label (#3541)
This commit is contained in:
parent
2f6dfd9bee
commit
34fa7cba20
1 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ import { isNonNullish } from "@utils/guards";
|
||||||
import { Logger } from "@utils/Logger";
|
import { Logger } from "@utils/Logger";
|
||||||
import definePlugin from "@utils/types";
|
import definePlugin from "@utils/types";
|
||||||
import { findByPropsLazy, findComponentByCodeLazy } from "@webpack";
|
import { findByPropsLazy, findComponentByCodeLazy } from "@webpack";
|
||||||
import { Avatar, ChannelStore, Clickable, IconUtils, RelationshipStore, ScrollerThin, useMemo, UserStore } from "@webpack/common";
|
import { Avatar, ChannelStore, Clickable, IconUtils, RelationshipStore, ScrollerThin, Text, useMemo, UserStore } from "@webpack/common";
|
||||||
import { Channel, User } from "discord-types/general";
|
import { Channel, User } from "discord-types/general";
|
||||||
import { JSX } from "react";
|
import { JSX } from "react";
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@ function renderClickableGDMs(mutualDms: Channel[], onClose: () => void) {
|
||||||
</Avatar>
|
</Avatar>
|
||||||
<div className={MutualsListClasses.details}>
|
<div className={MutualsListClasses.details}>
|
||||||
<div className={MutualsListClasses.name}>{getGroupDMName(c)}</div>
|
<div className={MutualsListClasses.name}>{getGroupDMName(c)}</div>
|
||||||
<div className={MutualsListClasses.nick}>{c.recipients.length + 1} Members</div>
|
<Text variant="text-xs/medium">{c.recipients.length + 1} Members</Text>
|
||||||
</div>
|
</div>
|
||||||
</Clickable>
|
</Clickable>
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue