From a789cf0dd94fd17b75d1f8490fd00fc51efe7c25 Mon Sep 17 00:00:00 2001 From: Joseph Mattello Date: Sat, 12 Nov 2022 19:49:16 -0500 Subject: [PATCH] PVLogVC fix tvOS color error Signed-off-by: Joseph Mattello --- Provenance/Utilities/PVLogViewController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Provenance/Utilities/PVLogViewController.m b/Provenance/Utilities/PVLogViewController.m index cbd64451f2..5ce7d35c12 100644 --- a/Provenance/Utilities/PVLogViewController.m +++ b/Provenance/Utilities/PVLogViewController.m @@ -48,10 +48,12 @@ - (instancetype)init UITableView *tableView = [[UITableView alloc] init]; tableView.delegate = self; tableView.dataSource = self; - tableView.backgroundColor = [UIColor systemBackgroundColor]; tableView.opaque = YES; #if TARGET_OS_IOS + tableView.backgroundColor = [UIColor systemBackgroundColor]; tableView.separatorStyle = UITableViewCellSeparatorStyleNone; +#elif TARGET_OS_TV + tableView.backgroundColor = [UIColor black]; #endif tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite; [tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"LogCell"];