Skip to content

Commit

Permalink
chore: set labels color to black in perf monitor view
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Feb 19, 2020
1 parent d4d8887 commit 1d4f8a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions React/CoreModules/RCTFPSGraph.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ - (UILabel *)label
_label = [[UILabel alloc] initWithFrame:self.bounds];
_label.font = [UIFont boldSystemFontOfSize:13];
_label.textAlignment = NSTextAlignmentCenter;
_label.textColor = UIColor.blackColor;
}

return _label;
Expand Down
5 changes: 5 additions & 0 deletions React/CoreModules/RCTPerfMonitor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ - (UILabel *)memory
_memory.font = [UIFont systemFontOfSize:12];
_memory.numberOfLines = 3;
_memory.textAlignment = NSTextAlignmentCenter;
_memory.textColor = UIColor.blackColor;
}

return _memory;
Expand All @@ -227,6 +228,7 @@ - (UILabel *)heap
_heap.font = [UIFont systemFontOfSize:12];
_heap.numberOfLines = 3;
_heap.textAlignment = NSTextAlignmentCenter;
_heap.textColor = UIColor.blackColor;
}

return _heap;
Expand All @@ -239,6 +241,7 @@ - (UILabel *)views
_views.font = [UIFont systemFontOfSize:12];
_views.numberOfLines = 3;
_views.textAlignment = NSTextAlignmentCenter;
_views.textColor = UIColor.blackColor;
}

return _views;
Expand Down Expand Up @@ -269,6 +272,7 @@ - (UILabel *)uiGraphLabel
_uiGraphLabel.font = [UIFont systemFontOfSize:11];
_uiGraphLabel.textAlignment = NSTextAlignmentCenter;
_uiGraphLabel.text = @"UI";
_uiGraphLabel.textColor = UIColor.blackColor;
}

return _uiGraphLabel;
Expand All @@ -281,6 +285,7 @@ - (UILabel *)jsGraphLabel
_jsGraphLabel.font = [UIFont systemFontOfSize:11];
_jsGraphLabel.textAlignment = NSTextAlignmentCenter;
_jsGraphLabel.text = @"JS";
_jsGraphLabel.textColor = UIColor.blackColor;
}

return _jsGraphLabel;
Expand Down

0 comments on commit 1d4f8a1

Please sign in to comment.