From d325128806e2f2907dd36dac3c478327299eac13 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 20 Nov 2025 18:20:10 -0500 Subject: [PATCH] BetterSettings: Fix Patch --- src/plugins/betterSettings/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/betterSettings/index.tsx b/src/plugins/betterSettings/index.tsx index a86f93a3d..2630aff50 100644 --- a/src/plugins/betterSettings/index.tsx +++ b/src/plugins/betterSettings/index.tsx @@ -125,8 +125,8 @@ export default definePlugin({ find: "#{intl::USER_SETTINGS_ACTIONS_MENU_LABEL}", replacement: [ { - match: /=\[\];return (\i)(?=\.forEach)/, - replace: "=$self.wrapMap([]);return $self.transformSettingsEntries($1)", + match: /=\[\];if\((\i)(?=\.forEach)/, + replace: "=$self.wrapMap([]);if($self.transformSettingsEntries($1)", predicate: () => settings.store.organizeMenu }, {