From c3237571a8390d859c65570a7c9a6b4574a28ed2 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Sun, 15 Sep 2024 19:16:40 +0200 Subject: [PATCH] fix: don't show fullscreen player on return from pip --- components/CurrentlyPlayingBar.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/components/CurrentlyPlayingBar.tsx b/components/CurrentlyPlayingBar.tsx index ab8fad03..00e9ccc1 100644 --- a/components/CurrentlyPlayingBar.tsx +++ b/components/CurrentlyPlayingBar.tsx @@ -400,11 +400,6 @@ export const CurrentlyPlayingBar: React.FC = () => { fontSize: 16, }} source={videoSource} - onRestoreUserInterfaceForPictureInPictureStop={() => { - setTimeout(() => { - presentFullscreenPlayer(); - }, 300); - }} onFullscreenPlayerDidDismiss={() => {}} onFullscreenPlayerDidPresent={() => {}} onPlaybackStateChanged={(e) => {