EquicordHelper: Fix Removing Activity Section Patch
This commit is contained in:
parent
311ed991e4
commit
62bc52f307
1 changed files with 4 additions and 4 deletions
|
|
@ -206,7 +206,7 @@ export default definePlugin({
|
|||
find: ".MEMBERLIST_CONTENT_FEED_TOGGLED,",
|
||||
predicate: () => settings.store.removeActivitySection,
|
||||
replacement: {
|
||||
match: /null==\i\|\|/,
|
||||
match: /null==\i\|\|.{0,100}VIEW_CHANNEL\)&&/,
|
||||
replace: "true||$&"
|
||||
},
|
||||
},
|
||||
|
|
@ -291,15 +291,14 @@ export default definePlugin({
|
|||
},
|
||||
{
|
||||
find: ".USE_OSX_NATIVE_TRAFFIC_LIGHTS",
|
||||
predicate: () => Settings.winNativeTitleBar,
|
||||
replacement: {
|
||||
match: /case \i\.\i\.WINDOWS:/,
|
||||
replace: 'case "WEB":'
|
||||
},
|
||||
predicate: () => Settings.winNativeTitleBar,
|
||||
},
|
||||
{
|
||||
find: '"refresh-title-bar-small"',
|
||||
predicate: () => Settings.winNativeTitleBar,
|
||||
replacement: [
|
||||
{
|
||||
match: /\i===\i\.PlatformTypes\.WINDOWS/g,
|
||||
|
|
@ -309,7 +308,8 @@ export default definePlugin({
|
|||
match: /\i===\i\.PlatformTypes\.WEB/g,
|
||||
replace: "true"
|
||||
}
|
||||
]
|
||||
],
|
||||
predicate: () => Settings.winNativeTitleBar,
|
||||
}
|
||||
],
|
||||
renderMessageAccessory(props) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue