aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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"