mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 02:47:03 -04:00
Fix broken patches
This commit is contained in:
parent
fdddfdb05b
commit
3e8e106be7
3 changed files with 22 additions and 35 deletions
|
@ -120,9 +120,9 @@ export default definePlugin({
|
|||
find: 'navId:"image-context"',
|
||||
predicate: () => settings.store.addBack,
|
||||
replacement: {
|
||||
// return IS_DESKTOP ? React.createElement(Menu, ...)
|
||||
match: /return \i\.\i\?/,
|
||||
replace: "return true?"
|
||||
// return IS_DESKTOP && null != ... ? React.createElement(Menu, ...)
|
||||
match: /return \i\.\i(?=&&null)/,
|
||||
replace: "return true"
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue