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

@ -13,18 +13,32 @@ export default definePlugin({
authors: [Devs.AutumnVN],
patches: [
{
find: ".rootWithShadow",
find: "DURATION_IN:",
replacement: {
match: /\?300:100/,
replace: "?0:0",
match: /300,/,
replace: "0,",
}
},
{
find: 'backdropFilter:"blur(0px)"',
replacement: {
match: /\?0:300/,
match: /\?0:200/,
replace: "?0:0",
}
},
{
find: '="ABOVE"',
replacement: {
match: /:300/,
replace: ":0",
}
},
{
find: "renderLurkerModeUpsellPopout,position:",
replacement: {
match: /200:300/g,
replace: "0:0",
},
}
]
});

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)&&"
},
{