Skip to content

Commit

Permalink
PVLogVC fix tvOS color error
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Mattello <[email protected]>
  • Loading branch information
JoeMatt committed Nov 13, 2022
1 parent 6955a72 commit f0c3e73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Provenance/Utilities/PVLogViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit f0c3e73

Please sign in to comment.