Skip to content

Commit

Permalink
Update ChannelTypingIndicator styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Neodymium7 committed Dec 15, 2024
1 parent c290cc2 commit 2ec36e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ChannelTypingIndicator/src/TypingIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ export function TypingIndicator({ channelId, guildId }) {
if (typingUsersIds.length > 3) {
tooltip = Strings.get("TYPING_LENGTH_MANY");
} else {
const typingUsersElements = typingUsersIds.map((id) => <strong>{getDisplayName(id, guildId)}</strong>);
const typingUsersElements = typingUsersIds.map((id) => (
<strong style={{ fontWeight: 700 }}>{getDisplayName(id, guildId)}</strong>
));

if (typingUsersElements.length == 1) {
tooltip = parseStringReact(Strings.get("TYPING_LENGTH_1"), { USER: typingUsersElements[0] });
Expand Down
2 changes: 1 addition & 1 deletion ChannelTypingIndicator/src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ChannelTypingIndicator",
"author": "Neodymium",
"version": "1.0.1",
"version": "1.0.2",
"description": "Adds an indicator to server channels when users are typing.",
"source": "https://github.com/Neodymium7/BetterDiscordStuff/blob/main/ChannelTypingIndicator/ChannelTypingIndicator.plugin.js",
"invite": "fRbsqH87Av"
Expand Down

0 comments on commit 2ec36e6

Please sign in to comment.