Fix Patches
This commit is contained in:
parent
f689aa6d89
commit
cf04b80eba
4 changed files with 5 additions and 5 deletions
|
|
@ -119,7 +119,7 @@ export default definePlugin({
|
|||
predicate: () => settings.store.showWithoutHover,
|
||||
replacement: [
|
||||
{
|
||||
match: /function\(\)\{.+:""(?=.*?userId:(\i))/,
|
||||
match: /function \i\(\)\{.+:""(?=.*?userId:(\i))/,
|
||||
replace: "$&,$self.renderTimer($1.id),"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export default definePlugin({
|
|||
replace: "$self.renderUser($1,$2)",
|
||||
},
|
||||
{
|
||||
match: /(?<=\}=(\i).{0,10}(\i).useState\(.{0,1}\);)/,
|
||||
match: /(?<=\}=(\i).{0,10}(\i).useState\(\i\).{0,25}\};)/,
|
||||
replace: "let [searchResults,setSearchResults]=$2.useState([]);$self.setUpdateFunc($1,setSearchResults);"
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ export default definePlugin({
|
|||
{
|
||||
find: "renderLurkerModeUpsellPopout,position:",
|
||||
replacement: {
|
||||
match: /200:300/g,
|
||||
replace: "0:0",
|
||||
match: /(\i)=(200|300)/g,
|
||||
replace: "$1=0",
|
||||
},
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export default definePlugin({
|
|||
authors: [EquicordDevs.Jaxx],
|
||||
patches: [
|
||||
{
|
||||
find: '"SearchQueryStore";',
|
||||
find: '"SearchQueryStore");',
|
||||
replacement: {
|
||||
match: /\i\.searchResultsQuery=(\i)/,
|
||||
replace: "$&,$self.main($1)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue