diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-09-21 23:28:40 -0300 |
---|---|---|
committer | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-09-21 23:28:40 -0300 |
commit | eacc673bcc84abba39b17f7fd99b18127478f130 (patch) | |
tree | 4dc3c587e07e5d3bfdd85e5a9ba4acb37f30fd7c | |
parent | dba6c4cea6e1e618e0c043e34a8de0c76bc3a1f4 (diff) | |
download | Vencord-eacc673bcc84abba39b17f7fd99b18127478f130.tar.gz Vencord-eacc673bcc84abba39b17f7fd99b18127478f130.tar.bz2 Vencord-eacc673bcc84abba39b17f7fd99b18127478f130.zip |
Fix BetterRoleDot making reporter angry
-rw-r--r-- | src/plugins/betterRoleDot.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts index 2dd8c4a..e8f69b8 100644 --- a/src/plugins/betterRoleDot.ts +++ b/src/plugins/betterRoleDot.ts @@ -47,7 +47,7 @@ export default definePlugin({ { find: ".ADD_ROLE_A11Y_LABEL", - predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout, + predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles, replacement: { match: /"dot"===\i/, replace: "true" @@ -55,7 +55,7 @@ export default definePlugin({ }, { find: ".roleVerifiedIcon", - predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout, + predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles, replacement: { match: /"dot"===\i/, replace: "true" |