Canary Fixes

This commit is contained in:
thororen1234 2025-02-11 07:18:06 -05:00
parent 584cd3d2e6
commit 936ac1ebd8
No known key found for this signature in database
2 changed files with 19 additions and 5 deletions

View file

@ -185,7 +185,7 @@ export default definePlugin({
{
// Decide if we should render the expanded folder background if we are rendering the Better Folders sidebar
predicate: () => settings.store.showFolderIcon !== FolderIconDisplay.Always,
match: /(?<=\.isExpanded\),children:\[)/,
match: /(?<=\.isExpanded\),.{0,25}children:\[)/,
replace: "$self.shouldShowFolderIconAndBackground(!!arguments[0]?.isBetterFolders,arguments[0]?.betterFoldersExpandedIds)&&"
},
{