mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-20 15:18:50 -05:00
Fix KeywordNotify Spacing
This commit is contained in:
parent
5001e506d2
commit
adf02d6905
1 changed files with 12 additions and 13 deletions
|
@ -315,8 +315,8 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "#{intl::UNREADS_TAB_LABEL})}",
|
find: "#{intl::UNREADS_TAB_LABEL})}",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\(0,\i\.jsxs\)\(\i\.\i\i\.Item/,
|
match: /,(\i\?\(0,\i\.jsxs\)\(\i\.\i\i\.Item)/,
|
||||||
replace: "$self.keywordTabBar(),$&"
|
replace: ",$self.keywordTabBar()$&"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -328,18 +328,17 @@ export default definePlugin({
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".guildFilter:null",
|
find: ".guildFilter:null",
|
||||||
replacement: {
|
replacement: [
|
||||||
match: /function (\i)\(\i\){let{message:\i,gotoMessage/,
|
{
|
||||||
replace: "$self.renderMsg = $1; $&"
|
match: /function (\i)\(\i\){let{message:\i,gotoMessage/,
|
||||||
}
|
replace: "$self.renderMsg = $1; $&"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
match: /onClick:\(\)=>(\i\.\i\.deleteRecentMention\((\i)\.id\))/,
|
||||||
|
replace: "onClick: () => $2._keyword ? $self.deleteKeyword($2.id) : $1"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
find: ".guildFilter:null",
|
|
||||||
replacement: {
|
|
||||||
match: /onClick:\(\)=>(\i\.\i\.deleteRecentMention\((\i)\.id\))/,
|
|
||||||
replace: "onClick: () => $2._keyword ? $self.deleteKeyword($2.id) : $1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue