fix PictureInPicture on canary

This commit is contained in:
Vendicated 2024-07-23 02:56:24 +02:00
parent 3704c71ae1
commit 2044264729
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -30,7 +30,7 @@ export default definePlugin({
{ {
find: ".nonMediaMosaicItem]", find: ".nonMediaMosaicItem]",
replacement: { replacement: {
match: /\.nonMediaMosaicItem\]:!(\i).{0,10}children:\[(\S)/, match: /\.nonMediaMosaicItem\]:!(\i).{0,50}?children:\[(\S)/,
replace: "$&,$1&&$2&&$self.renderPiPButton()," replace: "$&,$1&&$2&&$self.renderPiPButton(),"
}, },
}, },