From 87a6934ba246554d1aa11b85b550ec4e011d2735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20D=C3=A9fago?= Date: Thu, 4 Jan 2024 05:29:47 +0100 Subject: [PATCH] Animate video view display (#713) --- Demo/Sources/Players/PlaybackView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Demo/Sources/Players/PlaybackView.swift b/Demo/Sources/Players/PlaybackView.swift index f74f06b06..8fe45c572 100644 --- a/Demo/Sources/Players/PlaybackView.swift +++ b/Demo/Sources/Players/PlaybackView.swift @@ -120,6 +120,7 @@ private struct MainView: View { .supportsPictureInPicture(supportsPictureInPicture) } } + .animation(.easeInOut(duration: 0.2), values: player.mediaType, player.isExternalPlaybackActive) } @ViewBuilder