BetterFolders: Fix sidebar in wrong location (#2904)

This commit is contained in:
sadan4 2024-09-24 01:09:33 -04:00 committed by GitHub
parent eb63a54fa6
commit c3f2e76b9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,8 +200,8 @@ export default definePlugin({
predicate: () => settings.store.sidebar, predicate: () => settings.store.sidebar,
replacement: { replacement: {
// Render the Better Folders sidebar // Render the Better Folders sidebar
match: /(?<=({className:\i\.guilds,themeOverride:\i})\))/, match: /(container.{0,50}({className:\i\.guilds,themeOverride:\i})\))/,
replace: ",$self.FolderSideBar({...$1})" replace: "$1,$self.FolderSideBar({...$2})"
} }
}, },
{ {