Fix BetterRoleDot making reporter angry

This commit is contained in:
Nuckyz 2023-09-21 23:28:40 -03:00
parent dba6c4cea6
commit eacc673bcc
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -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"