mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-07 09:03:58 -05:00
Fix ImplicitRelationships
This commit is contained in:
parent
b576c91320
commit
5001e506d2
2 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue