BetterRoleDot: Fix ci test false positives

This commit is contained in:
Vendicated 2023-10-06 03:17:44 +02:00
parent 726a1b5d96
commit 03b5dc9c27
No known key found for this signature in database
GPG Key ID: D66986BAF75ECF18

View File

@ -48,6 +48,7 @@ export default definePlugin({
{
find: ".ADD_ROLE_A11Y_LABEL",
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles,
noWarn: true,
replacement: {
match: /"dot"===\i/,
replace: "true"
@ -56,6 +57,7 @@ export default definePlugin({
{
find: ".roleVerifiedIcon",
predicate: () => Settings.plugins.BetterRoleDot.copyRoleColorInProfilePopout && !Settings.plugins.BetterRoleDot.bothStyles,
noWarn: true,
replacement: {
match: /"dot"===\i/,
replace: "true"