mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-12 04:43:59 -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}
|
data-has-mention={!!mentionCount}
|
||||||
className={classes(dotStyles.numberBadge, dotStyles.baseShapeRound)}
|
className={classes(dotStyles.numberBadge, dotStyles.baseShapeRound)}
|
||||||
style={{
|
style={{
|
||||||
width: 16
|
width: "16px"
|
||||||
}}
|
}}
|
||||||
ref={node => node?.style.setProperty("background-color",
|
ref={node => node?.style.setProperty("background-color",
|
||||||
mentionCount ? "var(--red-400)" : "var(--brand-500)", "important"
|
mentionCount ? "var(--red-400)" : "var(--brand-500)", "important"
|
||||||
|
|
|
@ -50,8 +50,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "#{intl::FRIENDS_SECTION_ONLINE}",
|
find: "#{intl::FRIENDS_SECTION_ONLINE}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(\(0,\i\.jsx\)\(\i\.\i\.Item,\{id:\i\.\i)\.BLOCKED,className:([^\s]+?)\.item,children:\i\.\i\.string\(\i\.\i#{intl::BLOCKED}\)\}\)/,
|
match: /(\{id:\i\.\i\i)\.BLOCKED,.{0,150}(\i)\.item/,
|
||||||
replace: "$1.IMPLICIT,className:$2.item,children:\"Implicit\"}),$&"
|
replace: "$1.IMPLICIT,show:!0,content:\"Implicit\",className:$2.item},$&"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
// Sections content
|
// Sections content
|
||||||
|
|
Loading…
Reference in a new issue