Fix ImplicitRelationships
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-01-30 10:34:30 -05:00
parent b576c91320
commit 5001e506d2
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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