This commit is contained in:
Francesco 2025-05-31 18:14:42 +02:00
parent 5c941b5a34
commit ac188deda3
2 changed files with 6 additions and 1 deletions

View file

@ -1701,7 +1701,11 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
}
@objc func dismissTapped() {
dismiss(animated: true, completion: nil)
if let presentingViewController = self.presentingViewController {
presentingViewController.dismiss(animated: true, completion: nil)
} else {
dismiss(animated: true, completion: nil)
}
}
@objc func watchNextTapped() {

View file

@ -821,6 +821,7 @@ struct MediaInfoView: View {
Text("Episodes might not be available yet or there could be an issue with the source.")
.font(.body)
.lineLimit(2)
.foregroundColor(.secondary)
.multilineTextAlignment(.center)
.padding(.horizontal)