mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-15 21:21:45 +00:00
Increase bitrate warning font size on tvOS
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user