Fix BetterRoleDot making reporter angry
This commit is contained in:
parent
dba6c4cea6
commit
eacc673bcc
@ -47,7 +47,7 @@ export default definePlugin({
|
|||||||
|
|
||||||
{
|
{
|
||||||
find: ".ADD_ROLE_A11Y_LABEL",
|
find: ".ADD_ROLE_A11Y_LABEL",
|
||||||
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout,
|
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /"dot"===\i/,
|
match: /"dot"===\i/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
@ -55,7 +55,7 @@ export default definePlugin({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".roleVerifiedIcon",
|
find: ".roleVerifiedIcon",
|
||||||
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout,
|
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /"dot"===\i/,
|
match: /"dot"===\i/,
|
||||||
replace: "true"
|
replace: "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user