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:
committed by
Facebook GitHub Bot
parent
8dc3f8a9a8
commit
7d392ade29
@@ -63,7 +63,7 @@ static NSString* const kSKCellIdentifier =
|
|||||||
self.view.frame.size.width,
|
self.view.frame.size.width,
|
||||||
self.scrollView.frame.size.height)];
|
self.scrollView.frame.size.height)];
|
||||||
self.logLabel.numberOfLines = 0;
|
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.scrollView addSubview:self.logLabel];
|
||||||
|
|
||||||
self.stateTable = [[UITableView alloc]
|
self.stateTable = [[UITableView alloc]
|
||||||
@@ -80,7 +80,6 @@ static NSString* const kSKCellIdentifier =
|
|||||||
|
|
||||||
[self.view addSubview:self.stateTable];
|
[self.view addSubview:self.stateTable];
|
||||||
[self.view addSubview:self.scrollView];
|
[self.view addSubview:self.scrollView];
|
||||||
self.view.backgroundColor = [UIColor whiteColor];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)onUpdate {
|
- (void)onUpdate {
|
||||||
|
|||||||
Reference in New Issue
Block a user