mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
Update MediaInfoView.swift
This commit is contained in:
parent
bc987e63eb
commit
96304b21c5
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue