Skip to content

Commit

Permalink
fix: more precise notice regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FedeIlLeone committed Apr 3, 2024
1 parent ba731a6 commit d5c5d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/coremods/notices/plaintextPatches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const coremodStr = "replugged.coremods.coremods.notices";

export default [
{
find: /\.content.+?hasNotice/,
find: /hasNotice:\w+,sidebarTheme:\w+/,
replacements: [
{
match: /(\w+\.base,children:\[)(.+?}\)),/,
Expand Down

0 comments on commit d5c5d5a

Please sign in to comment.