Fix BetterFolders

This commit is contained in:
thororen1234 2025-01-09 01:45:34 -05:00
parent f5c14328da
commit e945a71f22

View file

@ -123,7 +123,7 @@ export default definePlugin({
},
// If we are rendering the Better Folders sidebar, we filter out everything but the servers and folders from the GuildsBar Guild List children
{
match: /lastTargetNode:\i\[\i\.length-1\].+?}\):null\](?=}\))/,
match: /lastTargetNode:\i\[\i\.length-1\].+?{}\)\](?=}\))/,
replace: "$&.filter($self.makeGuildsBarGuildListFilter(!!arguments[0]?.isBetterFolders))"
},
// If we are rendering the Better Folders sidebar, we filter out everything but the scroller for the guild list from the GuildsBar Tree children