From f0c3e73dc713e3ec45a59794c81367dcad6d09b5 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..8c0445dbd3 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 blackColor]; #endif tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite; [tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"LogCell"];