mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-25 14:47:21 +08:00
Fix ReactLegacy and delete RCTViewControllerProtocol
Summary: It's always bothered that we have this protocol and I figured it could just be merged with RCTWrapperViewController. Closes https://github.com/facebook/react-native/pull/17290 Reviewed By: mmmulani Differential Revision: D6611544 Pulled By: javache fbshipit-source-id: a50b9d5adbeb2c48dbadbbfc1c77ccf6d1aae144
This commit is contained in:
committed by
Facebook Github Bot
parent
2e008bc464
commit
a0ff8c7706
@@ -41,9 +41,12 @@
|
||||
constraintEqualToAnchor:contentLayout.widthAnchor
|
||||
multiplier:0.3].active = YES;
|
||||
|
||||
|
||||
self.keyLabel.textColor = [UIColor whiteColor];
|
||||
self.keyLabel.numberOfLines = 0;
|
||||
#if !TARGET_OS_TV
|
||||
self.keyLabel.lineBreakMode = UILineBreakModeWordWrap;
|
||||
#endif
|
||||
self.keyLabel.font = [UIFont fontWithName:@"Menlo-Regular" size:12.0f];
|
||||
|
||||
self.valueLabel = [UILabel new];
|
||||
@@ -62,7 +65,9 @@
|
||||
|
||||
self.valueLabel.textColor = [UIColor whiteColor];
|
||||
self.valueLabel.numberOfLines = 0;
|
||||
#if !TARGET_OS_TV
|
||||
self.valueLabel.lineBreakMode = UILineBreakModeWordWrap;
|
||||
#endif
|
||||
self.valueLabel.font = [UIFont fontWithName:@"Menlo-Regular" size:12.0f];
|
||||
}
|
||||
return self;
|
||||
@@ -98,7 +103,9 @@
|
||||
_tableView.dataSource = self;
|
||||
_tableView.backgroundColor = [UIColor clearColor];
|
||||
_tableView.estimatedRowHeight = 200;
|
||||
#if !TARGET_OS_TV
|
||||
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
#endif
|
||||
_tableView.rowHeight = UITableViewAutomaticDimension;
|
||||
_tableView.allowsSelection = NO;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user