From 4be73828431d0434c13fb23f601e7049799a645d Mon Sep 17 00:00:00 2001 From: cranci <100066266+cranci1@users.noreply.github.com> Date: Mon, 2 Jun 2025 10:25:04 +0200 Subject: [PATCH] Update MediaInfoView.swift --- Sora/Views/MediaInfoView/MediaInfoView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sora/Views/MediaInfoView/MediaInfoView.swift b/Sora/Views/MediaInfoView/MediaInfoView.swift index e0a6402..1fbcfc6 100644 --- a/Sora/Views/MediaInfoView/MediaInfoView.swift +++ b/Sora/Views/MediaInfoView/MediaInfoView.swift @@ -1305,7 +1305,7 @@ struct MediaInfoView: View { videoPlayerViewController.mediaTitle = title videoPlayerViewController.subtitles = subtitles ?? "" videoPlayerViewController.aniListID = itemID ?? 0 - videoPlayerViewController.modalPresentationStyle = .fullScreen + videoPlayerViewController.modalPresentationStyle = .overFullScreen if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, let window = windowScene.windows.first, @@ -1346,8 +1346,8 @@ struct MediaInfoView: View { episodeImageUrl: selectedEpisodeImage, headers: headers ?? nil ) - customMediaPlayer.modalPresentationStyle = .fullScreen - Logger.shared.log("Opening custom media player with url: \(url)") + customMediaPlayer.modalPresentationStyle = .overFullScreen + Logger.shared.log("Opening custom media player with stream URL: \(url), and subtitles URL: \(subtitles)", type: "Stream") if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene, let window = windowScene.windows.first,