Diagnostics UI (Dark mode)

Summary:
^
In dark mode, the logs were not visible as font color is white, same as the background color of the label explicitly set to white.

Don't set it to white (unless the text color is changed as well).

Reviewed By: antonk52

Differential Revision: D36015027

fbshipit-source-id: bf37546a13e4a2153f7307ddeebddb23f27f4403
This commit is contained in:
Lorenzo Blasa
2022-04-28 14:42:50 -07:00
committed by Facebook GitHub Bot
parent 8dc3f8a9a8
commit 7d392ade29

View File

@@ -63,7 +63,7 @@ static NSString* const kSKCellIdentifier =
self.view.frame.size.width,
self.scrollView.frame.size.height)];
self.logLabel.numberOfLines = 0;
self.logLabel.font = [UIFont fontWithName:@"Arial" size:10];
self.logLabel.font = [UIFont systemFontOfSize:10.0f];
[self.scrollView addSubview:self.logLabel];
self.stateTable = [[UITableView alloc]
@@ -80,7 +80,6 @@ static NSString* const kSKCellIdentifier =
[self.view addSubview:self.stateTable];
[self.view addSubview:self.scrollView];
self.view.backgroundColor = [UIColor whiteColor];
}
- (void)onUpdate {