File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-native/React/CoreModules Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 )];
You can’t perform that action at this time.
0 commit comments