From c3f2e76b9cc5deb6c76128bfe52cf0bfb099b282 Mon Sep 17 00:00:00 2001 From: sadan4 <117494111+sadan4@users.noreply.github.com> Date: Tue, 24 Sep 2024 01:09:33 -0400 Subject: [PATCH] BetterFolders: Fix sidebar in wrong location (#2904) --- src/plugins/betterFolders/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/betterFolders/index.tsx b/src/plugins/betterFolders/index.tsx index c2969988..bb1a67eb 100644 --- a/src/plugins/betterFolders/index.tsx +++ b/src/plugins/betterFolders/index.tsx @@ -200,8 +200,8 @@ export default definePlugin({ predicate: () => settings.store.sidebar, replacement: { // Render the Better Folders sidebar - match: /(?<=({className:\i\.guilds,themeOverride:\i})\))/, - replace: ",$self.FolderSideBar({...$1})" + match: /(container.{0,50}({className:\i\.guilds,themeOverride:\i})\))/, + replace: "$1,$self.FolderSideBar({...$2})" } }, {