Update MediaInfoView.swift

This commit is contained in:
cranci 2025-06-03 16:16:02 +02:00 committed by GitHub
parent bc987e63eb
commit 96304b21c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1966,7 +1966,7 @@ struct MediaInfoView: View {
let detachedWindow = UIWindow(windowScene: windowScene)
let hostingController = UIViewController()
hostingController.view.backgroundColor = .clear
hostingController.view.backgroundColor = .black
detachedWindow.rootViewController = hostingController
detachedWindow.backgroundColor = .clear
detachedWindow.windowLevel = .normal + 1
@ -1981,7 +1981,7 @@ struct MediaInfoView: View {
let detachedWindow = UIWindow(windowScene: windowScene)
let hostingController = UIViewController()
hostingController.view.backgroundColor = .clear
hostingController.view.backgroundColor = .black
detachedWindow.rootViewController = hostingController
detachedWindow.backgroundColor = .clear
detachedWindow.windowLevel = .normal + 1