diff --git a/src/equicordplugins/channelTabs/components/ChannelTab.tsx b/src/equicordplugins/channelTabs/components/ChannelTab.tsx index 0a601b36..f8350ef4 100644 --- a/src/equicordplugins/channelTabs/components/ChannelTab.tsx +++ b/src/equicordplugins/channelTabs/components/ChannelTab.tsx @@ -70,7 +70,7 @@ export const NotificationDot = ({ channelIds }: { channelIds: string[]; }) => { data-has-mention={!!mentionCount} className={classes(dotStyles.numberBadge, dotStyles.baseShapeRound)} style={{ - width: 16 + width: "16px" }} ref={node => node?.style.setProperty("background-color", mentionCount ? "var(--red-400)" : "var(--brand-500)", "important" diff --git a/src/plugins/implicitRelationships/index.ts b/src/plugins/implicitRelationships/index.ts index c6b61ef4..b58ad67d 100644 --- a/src/plugins/implicitRelationships/index.ts +++ b/src/plugins/implicitRelationships/index.ts @@ -50,8 +50,8 @@ export default definePlugin({ { find: "#{intl::FRIENDS_SECTION_ONLINE}", replacement: { - match: /(\(0,\i\.jsx\)\(\i\.\i\.Item,\{id:\i\.\i)\.BLOCKED,className:([^\s]+?)\.item,children:\i\.\i\.string\(\i\.\i#{intl::BLOCKED}\)\}\)/, - replace: "$1.IMPLICIT,className:$2.item,children:\"Implicit\"}),$&" + match: /(\{id:\i\.\i\i)\.BLOCKED,.{0,150}(\i)\.item/, + replace: "$1.IMPLICIT,show:!0,content:\"Implicit\",className:$2.item},$&" }, }, // Sections content