ShowHiddenThings: Fix showing ModView

This commit is contained in:
Nuckyz 2025-01-22 22:22:43 -03:00
parent 17f1ef275e
commit ed99ae7f23
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 15 additions and 4 deletions

View file

@ -58,7 +58,7 @@ export default definePlugin({
},
},
{
find: /context:\i,checkElevated:!1\}\),\i\.\i.{0,200}autoTrackExposure/,
find: /,checkElevated:!1}\),\i\.\i\)}(?<=getCurrentUser\(\);return.+?)/,
predicate: () => settings.store.showModView,
replacement: {
match: /return \i\.\i\(\i\.\i\(\{user:\i,context:\i,checkElevated:!1\}\),\i\.\i\)/,