Skip to content

Commit

Permalink
BetterFolders: Fix folder icon setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuckyz committed Dec 10, 2024
1 parent 4a5f083 commit 8d65bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/betterFolders/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: /(?<=\.wrapper,children:\[)/,
match: /(?<=\.isExpanded\),children:\[)/,
replace: "$self.shouldShowFolderIconAndBackground(!!arguments[0]?.isBetterFolders,arguments[0]?.betterFoldersExpandedIds)&&"
},
{
Expand Down

0 comments on commit 8d65bcf

Please sign in to comment.