mirror of
https://github.com/Equicord/Equicord.git
synced 2025-03-14 14:10:26 -04:00
Fixes
This commit is contained in:
parent
fc05bccb08
commit
54fdcc72dd
2 changed files with 8 additions and 5 deletions
|
@ -60,14 +60,17 @@ export default definePlugin({
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
// TEMP Work until Vencord Fix
|
||||||
find: ".installedLogHooks)",
|
...[
|
||||||
|
".DEBUG_LOGGING)",
|
||||||
|
".inputDeviceId)||"
|
||||||
|
].map(find => ({
|
||||||
|
find,
|
||||||
replacement: {
|
replacement: {
|
||||||
// if getDebugLogging() returns false, the hooks don't get installed.
|
|
||||||
match: "getDebugLogging(){",
|
match: "getDebugLogging(){",
|
||||||
replace: "getDebugLogging(){return false;"
|
replace: "getDebugLogging(){return false;"
|
||||||
}
|
}
|
||||||
},
|
})),
|
||||||
],
|
],
|
||||||
|
|
||||||
startAt: StartAt.Init,
|
startAt: StartAt.Init,
|
||||||
|
|
|
@ -187,7 +187,7 @@ export const ExpressionPickerStore: t.ExpressionPickerStore = mapMangledModuleLa
|
||||||
toggleExpressionPicker: filters.byCode(/getState\(\)\.activeView===\i\?\i\(\):\i\(/),
|
toggleExpressionPicker: filters.byCode(/getState\(\)\.activeView===\i\?\i\(\):\i\(/),
|
||||||
setExpressionPickerView: filters.byCode(/setState\({activeView:\i,lastActiveView:/),
|
setExpressionPickerView: filters.byCode(/setState\({activeView:\i,lastActiveView:/),
|
||||||
setSearchQuery: filters.byCode("searchQuery:"),
|
setSearchQuery: filters.byCode("searchQuery:"),
|
||||||
useExpressionPickerStore: filters.byCode(".getInitialState")
|
useExpressionPickerStore: filters.byCode("Object.is")
|
||||||
});
|
});
|
||||||
|
|
||||||
export const PopoutActions: t.PopoutActions = mapMangledModuleLazy('type:"POPOUT_WINDOW_OPEN"', {
|
export const PopoutActions: t.PopoutActions = mapMangledModuleLazy('type:"POPOUT_WINDOW_OPEN"', {
|
||||||
|
|
Loading…
Add table
Reference in a new issue