Skip to content

Commit 9d3691c

Browse files
committed
removing unneeded RCTScrollView and RCTScrollableProtocol changes
1 parent efdb4b6 commit 9d3691c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

React/Views/RCTScrollView.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,6 @@ - (void)setCenterContent:(BOOL)centerContent
287287
_scrollView.centerContent = centerContent;
288288
}
289289

290-
- (void)setContentOffset:(CGPoint)contentOffset
291-
{
292-
[_scrollView setContentOffset:contentOffset];
293-
}
294-
295290
- (void)setStickyHeaderIndices:(NSIndexSet *)headerIndices
296291
{
297292
RCTAssert(_scrollView.contentSize.width <= self.frame.size.width,

React/Views/RCTScrollableProtocol.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
@property (nonatomic, weak) NSObject<UIScrollViewDelegate> *nativeMainScrollDelegate;
1919
@property (nonatomic, readonly) CGSize contentSize;
2020

21-
- (void)setContentOffset:(CGPoint)contentOffset;
2221
- (void)scrollToOffset:(CGPoint)offset;
2322
- (void)scrollToOffset:(CGPoint)offset animated:(BOOL)animated;
2423
- (void)zoomToRect:(CGRect)rect animated:(BOOL)animated;

0 commit comments

Comments
 (0)