From 2044264729f6af2c9af1f236c2f3aaa00601cab3 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 23 Jul 2024 02:56:24 +0200 Subject: [PATCH] fix PictureInPicture on canary --- src/plugins/pictureInPicture/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/pictureInPicture/index.tsx b/src/plugins/pictureInPicture/index.tsx index 0a22f06d..81d75a25 100644 --- a/src/plugins/pictureInPicture/index.tsx +++ b/src/plugins/pictureInPicture/index.tsx @@ -30,7 +30,7 @@ export default definePlugin({ { find: ".nonMediaMosaicItem]", replacement: { - match: /\.nonMediaMosaicItem\]:!(\i).{0,10}children:\[(\S)/, + match: /\.nonMediaMosaicItem\]:!(\i).{0,50}?children:\[(\S)/, replace: "$&,$1&&$2&&$self.renderPiPButton()," }, },