Increase bitrate warning font size on tvOS

This commit is contained in:
Cameron Gutman
2019-09-24 17:36:26 -07:00
parent d2bc7209f7
commit 33b050f84f
@@ -134,7 +134,11 @@
[_overlayView setTextAlignment:NSTextAlignmentCenter]; [_overlayView setTextAlignment:NSTextAlignmentCenter];
[_overlayView setTextColor:[OSColor lightGrayColor]]; [_overlayView setTextColor:[OSColor lightGrayColor]];
[_overlayView setBackgroundColor:[OSColor blackColor]]; [_overlayView setBackgroundColor:[OSColor blackColor]];
#if TARGET_OS_TV
[_overlayView setFont:[UIFont systemFontOfSize:24]];
#else
[_overlayView setFont:[UIFont systemFontOfSize:12]]; [_overlayView setFont:[UIFont systemFontOfSize:12]];
#endif
[_overlayView setAlpha:0.5]; [_overlayView setAlpha:0.5];
[self.view addSubview:_overlayView]; [self.view addSubview:_overlayView];
} }