mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-18 22:28:51 -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})}",
|
||||
replacement: {
|
||||
match: /\(0,\i\.jsxs\)\(\i\.\i\i\.Item/,
|
||||
replace: "$self.keywordTabBar(),$&"
|
||||
match: /,(\i\?\(0,\i\.jsxs\)\(\i\.\i\i\.Item)/,
|
||||
replace: ",$self.keywordTabBar()$&"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -328,18 +328,17 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
find: ".guildFilter:null",
|
||||
replacement: {
|
||||
match: /function (\i)\(\i\){let{message:\i,gotoMessage/,
|
||||
replace: "$self.renderMsg = $1; $&"
|
||||
}
|
||||
replacement: [
|
||||
{
|
||||
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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue