ShowHiddenChannels: Fix broken patch (#3635)

This commit is contained in:
sadan4 2025-08-29 15:02:45 -04:00 committed by GitHub
parent 67aff64fed
commit aca30bcb9a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -239,7 +239,7 @@ export default definePlugin({
replace: (m, channel) => `${m}if($self.isHiddenChannel(${channel}))break;` replace: (m, channel) => `${m}if($self.isHiddenChannel(${channel}))break;`
}, },
{ {
match: /(?<="renderHeaderBar",\i=>{.+?hideSearch:(\i)\.isDirectory\(\))/, match: /(?<="renderHeaderBar",\(\)=>{.+?hideSearch:(\i)\.isDirectory\(\))/,
replace: (_, channel) => `||$self.isHiddenChannel(${channel})` replace: (_, channel) => `||$self.isHiddenChannel(${channel})`
}, },
{ {