initial black background and comment changes
This commit is contained in:
parent
2e5eb48cc6
commit
1ae886606b
|
@ -118,8 +118,8 @@ class VLCPlayerViewController: UIViewController {
|
|||
|
||||
view.backgroundColor = .black
|
||||
|
||||
// These are kept outside of 'setupMediaPlayer' such that
|
||||
// they aren't unnecessarily set more than once
|
||||
// Outside of 'setupMediaPlayer' such that they
|
||||
// aren't unnecessarily set more than once
|
||||
vlcMediaPlayer.delegate = self
|
||||
vlcMediaPlayer.drawable = videoContentView
|
||||
vlcMediaPlayer.perform(Selector(("setTextRendererFontSize:")), with: 16)
|
||||
|
|
|
@ -17,6 +17,14 @@ final class MainCoordinator: NavigationCoordinatable {
|
|||
|
||||
@Root var mainTab = makeMainTab
|
||||
@Root var serverList = makeServerList
|
||||
|
||||
@ViewBuilder
|
||||
func customize(_ view: AnyView) -> some View {
|
||||
view.background {
|
||||
Color.black
|
||||
.ignoresSafeArea()
|
||||
}
|
||||
}
|
||||
|
||||
init() {
|
||||
if SessionManager.main.currentLogin != nil {
|
||||
|
|
Loading…
Reference in New Issue