aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-09-21 23:28:40 -0300
committerNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-09-21 23:28:40 -0300
commiteacc673bcc84abba39b17f7fd99b18127478f130 (patch)
tree4dc3c587e07e5d3bfdd85e5a9ba4acb37f30fd7c
parentdba6c4cea6e1e618e0c043e34a8de0c76bc3a1f4 (diff)
downloadVencord-eacc673bcc84abba39b17f7fd99b18127478f130.tar.gz
Vencord-eacc673bcc84abba39b17f7fd99b18127478f130.tar.bz2
Vencord-eacc673bcc84abba39b17f7fd99b18127478f130.zip
Fix BetterRoleDot making reporter angry
-rw-r--r--src/plugins/betterRoleDot.ts4
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"