initial black background and comment changes

This commit is contained in:
Ethan Pippin 2022-01-01 21:59:44 -07:00
parent 2e5eb48cc6
commit 1ae886606b
2 changed files with 10 additions and 2 deletions

View File

@ -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)

View File

@ -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 {