From eacc673bcc84abba39b17f7fd99b18127478f130 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Thu, 21 Sep 2023 23:28:40 -0300 Subject: [PATCH] Fix BetterRoleDot making reporter angry --- src/plugins/betterRoleDot.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts index 2dd8c4ad..e8f69b89 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"