From f2e03bbf1fa692201d4eeaafea684838d4fdeca6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 30 Aug 2019 19:40:17 -0700 Subject: [PATCH] Always use dark mode on tvOS --- Limelight/UIComputerView.m | 2 -- Moonlight TV/Base.lproj/Main.storyboard | 2 +- Moonlight TV/Info.plist | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Limelight/UIComputerView.m b/Limelight/UIComputerView.m index 673332c..c9e479e 100644 --- a/Limelight/UIComputerView.m +++ b/Limelight/UIComputerView.m @@ -42,9 +42,7 @@ static const int LABEL_DY = 20; _hostButton.layer.shadowOpacity = 0.3; _hostLabel = [[UILabel alloc] init]; -#if !TARGET_OS_TV _hostLabel.textColor = [UIColor whiteColor]; -#endif _hostOverlay = [[UIImageView alloc] initWithFrame:CGRectMake(_hostButton.frame.size.width / 3, _hostButton.frame.size.height / 4, _hostButton.frame.size.width / 3, _hostButton.frame.size.height / 3)]; diff --git a/Moonlight TV/Base.lproj/Main.storyboard b/Moonlight TV/Base.lproj/Main.storyboard index f2fb285..e215e56 100644 --- a/Moonlight TV/Base.lproj/Main.storyboard +++ b/Moonlight TV/Base.lproj/Main.storyboard @@ -18,7 +18,7 @@ - + diff --git a/Moonlight TV/Info.plist b/Moonlight TV/Info.plist index f9caf95..6bb8680 100644 --- a/Moonlight TV/Info.plist +++ b/Moonlight TV/Info.plist @@ -42,7 +42,7 @@ arm64 UIUserInterfaceStyle - Automatic + Dark NSAppTransportSecurity NSAllowsArbitraryLoads