Skip to content

Commit 7b7b4d9

Browse files
committed
put underlines in
1 parent c9f19ab commit 7b7b4d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/React/CoreModules/RCTDevLoadingView.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ - (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(
112112

113113
self->_showDate = [NSDate date];
114114

115-
if (!self->label) {
115+
if (!self->_label) {
116116
self->_label = [[UILabel alloc] init];
117117
self->_label.translatesAutoresizingMaskIntoConstraints = NO;
118118
self->_label.font = [UIFont monospacedDigitSystemFontOfSize:12.0 weight:UIFontWeightRegular];
@@ -121,7 +121,7 @@ - (void)showMessage:(NSString *)message color:(UIColor *)color backgroundColor:(
121121
self->_label.textColor = color;
122122
self->_label.text = message;
123123

124-
if (!self->container) {
124+
if (!self->_container) {
125125
self->_container = [[UIView alloc] init];
126126
self->_container.translatesAutoresizingMaskIntoConstraints = NO;
127127
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(hide)];

0 commit comments

Comments
 (0)